Fix login route #126
This file contains hidden or 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: "Continuous Integration" | |
| on: [ push, pull_request ] | |
| env: | |
| fail-fast: true | |
| jobs: | |
| phpunit: | |
| name: "PHPUnit" | |
| runs-on: "ubuntu-latest" | |
| strategy: | |
| matrix: | |
| php-version: | |
| - "8.4" | |
| steps: | |
| - name: "Checkout" | |
| uses: "actions/checkout@v4" | |
| with: | |
| fetch-depth: 2 | |
| - name: "Install PHP with Xdebug" | |
| uses: "shivammathur/setup-php@v2" | |
| with: | |
| php-version: "${{ matrix.php-version }}" | |
| coverage: "xdebug" | |
| ini-values: "zend.assertions=1" | |
| - name: "Cache dependencies installed with composer" | |
| uses: "actions/cache@v4" | |
| with: | |
| path: "~/.composer/cache" | |
| key: "php-${{ matrix.php-version }}-composer-locked-${{ hashFiles('composer.lock') }}" | |
| restore-keys: "php-${{ matrix.php-version }}-composer-locked-" | |
| - name: "Install dependencies with composer" | |
| run: "composer install --no-interaction --prefer-dist" | |
| - name: "Run PHPUnit" | |
| run: "php bin/phpunit --coverage-text" |