Skip to content

Commit

Permalink
Set the XDEBUG_MODE=coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
tvbeek committed Nov 19, 2024
1 parent 418a267 commit 873baa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ test:
script:
- composer update
- vendor/bin/phpunit --migrate-configuration || true
- vendor/bin/phpunit --coverage-text --colors=never --coverage-cobertura=phpunitresult/cobertura-coverage.xml --log-junit=phpunitresult/junit.xml $EXCLUDE_GROUP
- XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --colors=never --coverage-cobertura=phpunitresult/cobertura-coverage.xml --log-junit=phpunitresult/junit.xml $EXCLUDE_GROUP
- sed -i 's~ filename="~ filename="src/~' phpunitresult/cobertura-coverage.xml
coverage: '/^\s*Lines:\s*\d+.\d+\%/'
artifacts:
Expand Down

0 comments on commit 873baa0

Please sign in to comment.