Skip to content

Commit

Permalink
Try a new workflow build configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
webeweb committed May 15, 2024
1 parent c7bb8ab commit 0fe2c7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ jobs:
- name: "Application"
run: |
mkdir -p build/logs
wget -c -nc --retry-connrefused --tries=0 https://github.com/php-coveralls/php-coveralls/releases/download/v2.5.3/php-coveralls.phar -O coveralls.phar
chmod +x coveralls.phar
php coveralls.phar --version
vendor/bin/php-coveralls --version
- name: "Tests"
run: vendor/bin/phpunit --coverage-clover build/logs/clover.xml
Expand All @@ -52,7 +50,7 @@ jobs:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_FLAG_NAME: php-${{ matrix.php-version }}
COVERALLS_PARALLEL: true
run: php coveralls.phar -v
run: vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v

coverage:
name: "Coverage"
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"psr/log": "^1.0|^2.0|^3.0"
},
"require-dev": {
"php-coveralls/php-coveralls": "^2.5.3",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^1.4",
"phpstan/phpstan-phpunit": "^1.0",
Expand Down

0 comments on commit 0fe2c7f

Please sign in to comment.