From: Petr Špaček Date: Tue, 3 Oct 2023 09:15:39 +0000 (+0200) Subject: Generate and capture JUnit XML output from cross-version-config-tests X-Git-Tag: v9.19.18~55^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f2a3eb00b90eac2a352e4d935d5e8d0748622a3f;p=thirdparty%2Fbind9.git Generate and capture JUnit XML output from cross-version-config-tests --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 28510aad096..cfd11105b97 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -376,16 +376,19 @@ cross-version-config-tests: # intends to detect obvious backward compatibility issues with the latter. - sed -i -E "s|(export TOP_BUILDDIR)=.*|\1=${CI_PROJECT_DIR}|" conf.sh - > - "$PYTEST" --setup-only -n "${TEST_PARALLEL_JOBS:-1}" + "$PYTEST" --setup-only --junit-xml="$CI_PROJECT_DIR"/junit.xml -n "${TEST_PARALLEL_JOBS:-1}" needs: - job: autoreconf artifacts: true artifacts: + reports: + junit: junit.xml paths: - bind-* + - junit.xml untracked: true expire_in: "1 day" - when: on_failure + when: always .display_pytest_failures: &display_pytest_failures - awk '/^=+ FAILURES =+/{flag=1;next}/^=+.*=+$/{flag=0}flag' bin/tests/system/pytest.out.txt || true