From ce18edaa398bfca5f38ae9320a6a98d6a6338318 Mon Sep 17 00:00:00 2001 From: Jon Date: Sat, 18 May 2024 14:35:50 +0930 Subject: [PATCH] ci: correct junit collection to use wildcard name !6 --- .gitlab/pytest.gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab/pytest.gitlab-ci.yml b/.gitlab/pytest.gitlab-ci.yml index 7639e38f..5be59e4d 100644 --- a/.gitlab/pytest.gitlab-ci.yml +++ b/.gitlab/pytest.gitlab-ci.yml @@ -8,7 +8,7 @@ Unit: - pip install -r requirements.txt - pip install -r requirements_test.txt - cd app - - pytest --cov --cov-report term --cov-report xml:../artifacts/coverage.xml --cov-report html:../artifacts/coverage/ --junit-xml=../artifacts/test.JUnit.xml + - pytest --cov --cov-report term --cov-report xml:../artifacts/coverage.xml --cov-report html:../artifacts/coverage/ --junit-xml=../artifacts/unit.JUnit.xml coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/' artifacts: expire_in: "30 days" @@ -18,7 +18,7 @@ Unit: coverage_format: cobertura path: artifacts/coverage.xml junit: - - artifacts/unit.JUnit.xml + - artifacts/*.JUnit.xml paths: - artifacts/ rules: