Skip to content

Commit

Permalink
try with build logs
Browse files Browse the repository at this point in the history
  • Loading branch information
frets1700 committed Mar 26, 2024
1 parent 88ce257 commit 9d5dc28
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ jobs:

- name: Tests
run: |
mkdir -p ./coverage/
vendor/bin/phpunit --coverage-clover ./coverage/clover.xml
mkdir -p ./build/logs
vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml
- name: Verify coverage file is created
run: |
if [ ! -f ./coverage/clover.xml ]; then
if [ ! -f ./build/logs/clover.xml ]; then
echo "clover.xml file was not created"
exit 1
fi
Expand All @@ -69,5 +69,5 @@ jobs:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
composer global require php-coveralls/php-coveralls
php-coveralls --coverage_clover=./coverage/clover.xml -v
php-coveralls --coverage_clover=./build/logs/clover.xml -v

0 comments on commit 9d5dc28

Please sign in to comment.