You've already forked Traefik-Redis-Api
For the statistics only
This commit is contained in:
@@ -14,6 +14,7 @@ Unit Tests:
|
|||||||
script: |
|
script: |
|
||||||
echo "Running unit tests..."
|
echo "Running unit tests..."
|
||||||
composer run tests:unit:coverage
|
composer run tests:unit:coverage
|
||||||
|
coverage: '/^\s*Lines:\s*\d+.\d+\%/'
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 1 day
|
expire_in: 1 day
|
||||||
reports:
|
reports:
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
"phpunit --colors=always --display-deprecations tests "
|
"phpunit --colors=always --display-deprecations tests "
|
||||||
],
|
],
|
||||||
"tests:unit:coverage": [
|
"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": [
|
"tests:lint": [
|
||||||
"phpcs ./src --standard=PSR12 --colors -v",
|
"phpcs ./src --standard=PSR12 --colors -v",
|
||||||
|
|||||||
Reference in New Issue
Block a user