Skip to content

Commit

Permalink
Use PHPUnit 9.3 on PHP 8
Browse files Browse the repository at this point in the history
  • Loading branch information
colinodell committed Jul 19, 2020
1 parent b068546 commit 6e0c814
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ jobs:

- run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

- name: "Use PHPUnit 9.3+ on PHP 8"
run: composer require --no-update --dev phpunit/phpunit:^9.3
if: ${{ matrix.php == "8.0" }}

- run: composer update --no-progress ${{ matrix.composer-flags }}

- run: vendor/bin/phpunit --no-coverage
Expand Down
2 changes: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
"scrutinizer/ocular": "^1.5",
"symfony/finder": "^4.2"
},
"minimum-stability": "dev",
"prefer-stable": true,
"conflict": {
"scrutinizer/ocular": "1.7.*"
},
Expand Down

0 comments on commit 6e0c814

Please sign in to comment.