Skip to content

Commit

Permalink
Calculate code coverage using fast linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Wirone committed Oct 10, 2023
1 parent 6882519 commit c58e279
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ jobs:
run-tests: 'yes'
phpunit-flags: '--group auto-review'

- operating-system: 'ubuntu-20.04'
php-version: '8.2'
job-description: 'tests'
run-tests: 'yes'

- operating-system: 'ubuntu-20.04'
php-version: '8.2'
job-description: 'code coverage'
Expand Down Expand Up @@ -198,6 +203,8 @@ jobs:

- name: Collect code coverage
if: matrix.code-coverage == 'yes'
env:
FAST_LINT_TEST_CASES: 1
run: vendor/bin/paraunit coverage --testsuite coverage --exclude-group covers-nothing --clover build/logs/clover.xml

- name: Upload coverage results to Coveralls
Expand Down

0 comments on commit c58e279

Please sign in to comment.