For the statistics only

This commit is contained in:
2025-05-12 13:35:16 -04:00
parent 6e340e898f
commit b9f4b4500d
2 changed files with 2 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ Unit Tests:
script: |
echo "Running unit tests..."
composer run tests:unit:coverage
coverage: '/^\s*Lines:\s*\d+.\d+\%/'
artifacts:
expire_in: 1 day
reports:

View File

@@ -36,7 +36,7 @@
"phpunit --colors=always --display-deprecations tests "
],
"tests:unit:coverage": [
"phpunit --colors=always --display-deprecations --log-junit tests/reports/junit.xml --coverage-html tests/reports/html tests "
"phpunit --coverage-text --colors=never --display-deprecations --log-junit tests/reports/junit.xml --coverage-html tests/reports/html tests "
],
"tests:lint": [
"phpcs ./src --standard=PSR12 --colors -v",