Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardokum committed Jun 1, 2022
1 parent 7267307 commit 040cd80
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,4 @@ jobs:
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
- name: Run tests
run: "vendor/bin/phpunit -c phpunit.xml --coverage-clover=coverage.clover"

# Tenta enviar a cobertura de código até 5 vezes
- name: Upload coverage
run: |
cover() {
curl -s https://scrutinizer-ci.com/ocular.phar -o ocular.phar
php ocular.phar code-coverage:upload --format=php-clover coverage.clover
}
for i in {1..5}; do cover && break || sleep 5; done
shell: bash
continue-on-error: true
run: "vendor/bin/phpunit -c phpunit.xml --coverage-clover=coverage.clover"

0 comments on commit 040cd80

Please sign in to comment.