Skip to content

Commit

Permalink
Update phpunit version
Browse files Browse the repository at this point in the history
  • Loading branch information
babenkoivan committed Feb 16, 2021
1 parent 9e88f88 commit 68e006c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,18 @@ jobs:
strategy:
matrix:
php: [7.2, 7.3, 7.4, 8.0]
include:
- php: 7.2
phpunit: 8.5

- php: 7.3
phpunit: 9.5

- php: 7.4
phpunit: 9.5

- php: 8.0
phpunit: 9.5
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -31,7 +43,7 @@ jobs:
restore-keys: ${{ runner.os }}-composer-

- name: Install dependencies
run: composer install --no-interaction
run: composer require --no-interaction phpunit/phpunit:^${{ matrix.phpunit }}

- name: Run tests
run: make test
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"elasticsearch/elasticsearch": "^7.3"
},
"require-dev": {
"phpunit/phpunit": "^8.4",
"phpunit/phpunit": "^9.5",
"friendsofphp/php-cs-fixer": "^2.16",
"phpstan/phpstan": "^0.12.32"
},
Expand Down

0 comments on commit 68e006c

Please sign in to comment.