Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald committed May 18, 2024
1 parent dd966e4 commit b97d5a1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ jobs:
strategy:
matrix:
php: ['8.1', '8.2', '8.3']
phpunit: ['9.0', '10.0', '11.0']
phpunit: ['9', '10', '11']
exclude:
- php: '8.1'
phpunit: '11.0'
phpunit: '11'
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -84,8 +84,7 @@ jobs:
composer update
- name: Configure PHPUnit
if: hashFiles('./phpunit.${{ matrix.phpunit }}.xml')
run: cp ./phpunit.${{ matrix.phpunit }}.xml > ./phpunit.xml
run: "[ -f './phpunit.${{ matrix.phpunit }}.xml' ] && cp ./phpunit.${{ matrix.phpunit }}.xml > ./phpunit.xml"

- name: PHPUnit
run: ./vendor/bin/phpunit --do-not-cache-result

0 comments on commit b97d5a1

Please sign in to comment.