Skip to content

Commit ede9771

Browse files
committed
Display and archive test reports even in case of failures
1 parent c4372d5 commit ede9771

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ jobs:
184184
$CONDA run --no-capture-output -n "$CONDA_ENV" coverage xml -o "reports/$CONDA_ENV/py-coverage.xml"
185185
done
186186
- name: Display Test Reports
187+
if: success() || failure()
187188
uses: dorny/test-reporter@v1
188189
with:
189190
name: Run Tests ${{ matrix.python-version }}
@@ -192,7 +193,9 @@ jobs:
192193
reports/py${{ matrix.python-version }}_conda/TEST-tests.*.*.xml
193194
reporter: java-junit
194195
path-replace-backslashes: 'true' # Necessary for windows paths
196+
fail-on-error: 'false'
195197
- name: Upload Test Reports as Artifacts
198+
if: success() || failure()
196199
uses: actions/upload-artifact@v4
197200
with:
198201
name: test-reports-${{ matrix.python-version }}

0 commit comments

Comments
 (0)