php8.0 and prepare 1.2.0 release #118
Workflow file for this run
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: Main | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| tests: | |
| runs-on: "ubuntu-latest" | |
| name: "PHP ${{ matrix.php-version }} Unit Tests" | |
| strategy: | |
| matrix: | |
| php-version: | |
| - "8.0" | |
| - "8.1" | |
| - "8.2" | |
| - "8.3" | |
| - "8.4" | |
| steps: | |
| - name: "Checkout" | |
| uses: "actions/checkout@v2" | |
| - name: "Install PHP" | |
| uses: "shivammathur/setup-php@v2" | |
| with: | |
| coverage: "none" | |
| php-version: "${{ matrix.php-version }}" | |
| tools: composer:v2 | |
| - name: Setup tests | |
| working-directory: ./projects/tests/ | |
| run: | | |
| rm -f composer.lock | |
| rm -rf vendor/ | |
| composer clearcache | |
| composer update --no-progress --prefer-dist | |
| - name: "PHPUnit" | |
| working-directory: ./projects/tests/ | |
| run: "php vendor/bin/phpunit" |