Skip to content

Commit

Permalink
Specify phpunit version in Github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
demyan112rv committed Jul 11, 2023
1 parent fbc6a04 commit 1c72a20
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
uses: php-actions/phpunit@v3
with:
php_version: "7.4"
version: "8"

test-php80:
runs-on: ubuntu-latest
Expand All @@ -30,6 +31,7 @@ jobs:
uses: php-actions/phpunit@v3
with:
php_version: "8.0"
version: "9"

test-php81:
runs-on: ubuntu-latest
Expand All @@ -44,6 +46,7 @@ jobs:
uses: php-actions/phpunit@v3
with:
php_version: "8.1"
version: "10"

test-php82:
runs-on: ubuntu-latest
Expand All @@ -57,4 +60,5 @@ jobs:
- name: PHPUnit Tests
uses: php-actions/phpunit@v3
with:
php_version: "8.2"
php_version: "8.2"
version: "10"
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"guzzlehttp/guzzle": ">=4.1.4"
},
"require-dev": {
"phpunit/phpunit": ">=8.0 <9.5",
"phpunit/phpunit": ">=8.0 <11.0",
"php-coveralls/php-coveralls": ">=v2.0.0",
"phpstan/phpstan": ">=1.0 <3.0"
}
Expand Down

0 comments on commit 1c72a20

Please sign in to comment.