From eac9e7c1031c416b04536c686bc83a1699ee4911 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 2 Dec 2023 11:42:12 +0300 Subject: collect phpunit artifacts --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5dc42d96d..0a04b394f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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} -- cgit v1.2.3