Update the readme for Craft 5 #88
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 | |
on: | |
pull_request: null | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
php_version: | |
- 8.0 | |
- 8.1 | |
name: 'Tests on ${{ matrix.php_version }}' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
# see https://github.com/shivammathur/setup-php | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php_version }} | |
coverage: none | |
# composer install cache - https://github.com/ramsey/composer-install | |
- uses: "ramsey/composer-install@v1" | |
- run: vendor/bin/phpunit |