diff --git a/.github/workflows/crazylab-linux-experiment.yml b/.github/workflows/crazylab-linux-experiment.yml index ea02d80..9693d6b 100644 --- a/.github/workflows/crazylab-linux-experiment.yml +++ b/.github/workflows/crazylab-linux-experiment.yml @@ -73,16 +73,16 @@ jobs: pytest --verbose --html=${{env.TEST_FILE}}.html ${{github.event.inputs.category}} --junit-xml ${{env.TEST_FILE}}.xml fi - name: Upload test file + if: always() uses: actions/upload-artifact@v4 with: + if-no-files-found: warn name: test_report_${{github.run_number}} path: | ${{env.TEST_FILE}}.html ${{env.TEST_FILE}}.xml assets/style.css - - - name: Pretty print test results if: always() uses: pmeier/pytest-results-action@main diff --git a/.github/workflows/crazylab-linux.yml b/.github/workflows/crazylab-linux.yml index 1066899..8472a73 100644 --- a/.github/workflows/crazylab-linux.yml +++ b/.github/workflows/crazylab-linux.yml @@ -67,8 +67,10 @@ jobs: python3 -u utils/run_examples.py --path crazyflie-lib-python - name: Upload test file + if: always() uses: actions/upload-artifact@v4 with: + if-no-files-found: warn name: test_report_${{github.run_number}} path: | ${{env.TEST_FILE}}.html