Explorar o código

Merge branch 'bugfix/pytest_host_artifacts' into 'master'

ci: enable artifacts for test_pytest_qemu

See merge request espressif/esp-idf!19225
Anton Maklakov %!s(int64=3) %!d(string=hai) anos
pai
achega
5b11895700
Modificáronse 1 ficheiros con 9 adicións e 1 borrados
  1. 9 1
      .gitlab/ci/host-test.yml

+ 9 - 1
.gitlab/ci/host-test.yml

@@ -442,9 +442,17 @@ test_pytest_qemu:
     - .host_test_template
     - .before_script_build_jobs
   image: $QEMU_IMAGE
+  artifacts:
+    when: always
+    paths:
+      - XUNIT_RESULT.xml
+      - pytest_embedded_log/
+    reports:
+      junit: XUNIT_RESULT.xml
+    expire_in: 1 week
   script:
     - run_cmd python tools/ci/ci_build_apps.py . -vv
       --target esp32
       --pytest-apps
       -m qemu
-    - pytest --target esp32 -m qemu --embedded-services idf,qemu
+    - pytest --target esp32 -m qemu --embedded-services idf,qemu --junitxml=XUNIT_RESULT.xml