collect phpunit artifacts

This commit is contained in:
Andrew Dolgov 2023-12-02 11:42:12 +03:00
parent 93bd96e356
commit eac9e7c103
No known key found for this signature in database
GPG Key ID: 1A56B4FA25D4AF2A
1 changed files with 8 additions and 0 deletions

View File

@ -75,6 +75,14 @@ phpunit-integration:
- export TTRSS_DB_NAME=postgres
- export TTRSS_DB_PASS=password
- php82 vendor/bin/phpunit --group integration --do-not-cache-result --log-junit phpunit-report.xml --coverage-cobertura phpunit-coverage.xml --coverage-text --colors=never
artifacts:
when: always
reports:
junit: phpunit-report.xml
coverage_report:
coverage_format: cobertura
path: phpunit-coverage.xml
coverage: '/^\s*Lines:\s*\d+.\d+\%/'
selenium:
image: ${SELENIUM_IMAGE}