From: Tomas Krizek Date: Wed, 8 Jan 2020 13:31:28 +0000 (+0100) Subject: tests/pytests: create and collect html report X-Git-Tag: v5.0.0~11^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4611b905af7d85edb284197a75e590192b9ef52c;p=thirdparty%2Fknot-resolver.git tests/pytests: create and collect html report The report has been previously removed, most likely by a mistake. --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 96e428269..294bc0df6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -296,6 +296,11 @@ pytests: dependencies: - build-asan stage: extended # use this stage to avoid clash with other resource-intensive jobs + artifacts: + when: always + paths: + - build_ci*/meson-logs/testlog*.txt + - tests/pytests/*.html script: - ${MESON_TEST} --suite pytests diff --git a/tests/pytests/meson.build b/tests/pytests/meson.build index 185f713d5..ffe5b8282 100644 --- a/tests/pytests/meson.build +++ b/tests/pytests/meson.build @@ -38,6 +38,8 @@ test( args: [ '-m', 'pytest', '-d', + '--html', 'pytests.parallel.html', + '--self-contained-html', '-n', '24', '-v', ],