Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

Commit

Permalink
#26 : QA Code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-bastien committed May 7, 2021
1 parent adc8c15 commit befac95
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ jobs:
run: make qa

- name: Phunit
run: make phpunit
run: XDEBUG_MODE=coverage ./bin/phpunit --coverage-clover coverage.xml
env:
DATABASE_URL: "mysql://user:password@mysql:${{ job.services.mysql.ports[3306] }}/smartbooster-sandbox?serverVersion=8.0"
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v1
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ composer.lock
yarn.lock
.env
.bash_history
coverage.xml
###> symfony/framework-bundle ###
/.env.local
/.env.local.php
Expand Down

0 comments on commit befac95

Please sign in to comment.