Ensure that data from failed tests is not overwritten by other jobs

This commit is contained in:
Hamish Coleman 2023-06-13 19:59:59 +01:00
parent e42cbd7e0c
commit edaebf3b46

View File

@ -25,6 +25,13 @@ jobs:
./configure
make test
- if: ${{ failure() }}
name: Upload tests output
uses: actions/upload-artifact@v3
with:
name: tests-smoketest
path: tests
smoketest_all_opts:
name: Smoke test With all options turned on
runs-on: ubuntu-latest
@ -174,7 +181,7 @@ jobs:
name: Upload tests output
uses: actions/upload-artifact@v3
with:
name: tests-out
name: tests-linux
path: tests
- name: Generate coverage reports
@ -244,7 +251,7 @@ jobs:
name: Upload tests output
uses: actions/upload-artifact@v3
with:
name: tests-out
name: tests-macos
path: tests
- name: Generate coverage reports
@ -321,7 +328,7 @@ jobs:
name: Upload tests output
uses: actions/upload-artifact@v3
with:
name: tests-out
name: tests-windows
path: tests
- name: Generate coverage data