]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
tests/pytests: create and collect html report
authorTomas Krizek <tomas.krizek@nic.cz>
Wed, 8 Jan 2020 13:31:28 +0000 (14:31 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Wed, 8 Jan 2020 13:31:28 +0000 (14:31 +0100)
The report has been previously removed, most likely by a mistake.

.gitlab-ci.yml
tests/pytests/meson.build

index 96e4282694d844fcf58ac8fe9856512df1f675d3..294bc0df6eba32d7bff80bd779e0df0a4cd8f6b3 100644 (file)
@@ -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
 
index 185f713d5daef744b11de921289d94a6306d774f..ffe5b8282022ae639c0964c4fe307ad1d2e6ac17 100644 (file)
@@ -38,6 +38,8 @@ test(
   args: [
     '-m', 'pytest',
     '-d',
+    '--html', 'pytests.parallel.html',
+    '--self-contained-html',
     '-n', '24',
     '-v',
   ],