New recovery UI #677
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Tests" | |
# Controls when the workflow will run | |
on: | |
# Triggers the workflow on push or pull request events but only for the "develop" branch | |
pull_request: | |
branches: [ "develop" ] | |
paths: | |
- '**.php' | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
permissions: | |
contents: read | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
php: [8.3] | |
laravel: ["^10.0"] | |
name: PHP ${{ matrix.php }} | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: "shivammathur/setup-php@v2" | |
with: | |
php-version: "${{ matrix.php }}" | |
extensions: "dom, curl, libxml, mbstring, zip, fileinfo, sqlite, pdo_sqlite" | |
coverage: "none" | |
- name: Install Composer dependencies | |
run: composer install --prefer-dist --no-interaction --no-progress | |
- name: "Install highest dependencies from composer.json" | |
run: "composer update --with='illuminate/contracts:${{ matrix.laravel }}' --no-interaction --no-progress" | |
- name: "Execute static analysis" | |
run: "composer run-script test:types" | |
#- name: Generate app key | |
# run: php artisan key:generate | |
#- name: Execute tests | |
# run: vendor/bin/phpunit |