Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

Commit

Permalink
#2 Setup Codecov for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieu-ducrot committed Jun 25, 2021
1 parent 72ef65e commit 5094394
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ jobs:
- name: Qualimetry
run: make qa

# —— Test 🧪 ————————————————————————————————————————————————————————————
- name: Phpunit test and coverage
run: make phpunit-coverage
# —— Tests 🧪 ————————————————————————————————————————————————————————————
- name: Phpunit tests
run: XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-clover coverage.xml --coverage-filter=src tests
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v1

0 comments on commit 5094394

Please sign in to comment.