Add conditional upload step for test results in workflow
Some checks failed
Build Simulation and Test / Run All Tests (push) Failing after 26s
Some checks failed
Build Simulation and Test / Run All Tests (push) Failing after 26s
This commit is contained in:
parent
9ecbab5371
commit
b5a3d6348f
@ -30,4 +30,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: pytest-results
|
name: pytest-results
|
||||||
path: pytest-results.xml
|
path: pytest-results.xml
|
||||||
retention-days: 5
|
retention-days: 5
|
||||||
|
|
||||||
|
- uses: actions/upload-artifact@v4 # upload test results
|
||||||
|
if: ${{ !cancelled() }} # run this step even if previous step failed
|
||||||
|
with:
|
||||||
|
name: pytest-results
|
||||||
|
path: pytest-results.xml
|
||||||
Loading…
x
Reference in New Issue
Block a user