Skip to content

Commit 67f85c3

Browse files
committed
Display and archive test reports even in case of failures
1 parent 7e8b0d4 commit 67f85c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/tests.yml

+2
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,6 +193,7 @@ 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
196198
uses: actions/upload-artifact@v4
197199
with:

0 commit comments

Comments
 (0)