Skip to content

Commit

Permalink
CI: update tools
Browse files Browse the repository at this point in the history
  • Loading branch information
SMillerDev committed Dec 29, 2021
1 parent 97db213 commit 4e76201
Show file tree
Hide file tree
Showing 7 changed files with 126 additions and 126 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ jobs:
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

- name: Run test suite
run: ./vendor/bin/phpunit --configuration tests/phpunit.xml --coverage-clover=coverage.xml --exclude-group twig
run: ./vendor/phpunit/phpunit/phpunit --configuration tests/phpunit.xml --coverage-clover=coverage.xml --exclude-group twig

- name: PHPStan
run: ./vendor/bin/phpstan analyse --level=5 src/
run: ./vendor/phpstan/phpstan/phpstan analyse --level=5 src/

- name: PHPCS
run: phpcs --standard=tests/phpcs.xml --ignore=\*Minifier.php src/ | cs2pr
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
run: composer update --no-interaction --no-suggest

- name: Run test suite
run: ./vendor/bin/phpunit --configuration tests/phpunit.xml --exclude-group twig --coverage-clover=./var/coverage/clover.xml
run: ./vendor/phpunit/phpunit/phpunit --configuration tests/phpunit.xml --exclude-group twig --coverage-clover=./var/coverage/clover.xml

- name: Code coverage Scan
uses: codecov/codecov-action@v1
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"phpunit/phpunit": "~9.0",
"theseer/autoload": "~1.0",
"phing/phing": "~2.0",
"phpstan/phpstan-phpunit": "^0.12.6",
"phpstan/phpstan": "^0.12.17"
"phpstan/phpstan": "^1.2.0",
"phpstan/phpstan-phpunit": "^1.0.0"
},
"scripts": {
"phar": [
Expand Down
Loading

0 comments on commit 4e76201

Please sign in to comment.