Skip to content

Commit

Permalink
fixed uploading code coverage data
Browse files Browse the repository at this point in the history
  • Loading branch information
craue committed Aug 6, 2023
1 parent c121bfc commit 94b8a01
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,6 @@ jobs:
if: ${{ github.repository == 'craue/CraueConfigBundle' }}
env:
COVERALLS_REPO_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
uses: nick-fields/retry@v2
with:
command: |
PHP_COVERALLS_VERSION=`curl --retry 5 -Is https://github.com/php-coveralls/php-coveralls/releases/latest | grep -i 'Location:' | sed 's/.*\/tag\/\(.*\)$/\1/' | tr -d "[:cntrl:]"`
echo "using php-coveralls '${PHP_COVERALLS_VERSION}'"
wget -q "https://github.com/php-coveralls/php-coveralls/releases/download/${PHP_COVERALLS_VERSION}/php-coveralls.phar" -O php-coveralls.phar
php php-coveralls.phar -v
max_attempts: 3
timeout_seconds: 10
run: |
composer global require php-coveralls/php-coveralls
php-coveralls --coverage_clover=build/logs/clover.xml -v

0 comments on commit 94b8a01

Please sign in to comment.