Github CI: upload artifact (reports) when failing
authoretisserant <edouard.tisserant@gmail.com>
Wed, 06 Jul 2022 17:04:11 +0200
changeset 3533 49e7d2247d46
parent 3532 c1a972412661
child 3534 7f62da4362fd
Github CI: upload artifact (reports) when failing
.github/workflows/run_tests_in_docker.yml
--- a/.github/workflows/run_tests_in_docker.yml	Wed Jul 06 14:39:36 2022 +0200
+++ b/.github/workflows/run_tests_in_docker.yml	Wed Jul 06 17:04:11 2022 +0200
@@ -54,6 +54,7 @@
 
     - name: Upload test resuts artifact
       uses: actions/upload-artifact@v3
+      if: failure()
       with:
         name: test_results
         path: ${{ github.workspace }}/test