File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 70
70
if : ${{ matrix.os == 'windows-latest' }}
71
71
# pytest-xdist does not exit on Windows
72
72
# https://github.com/pytest-dev/pytest-xdist/issues/60
73
- run : pytest -vv --browser=${{ matrix.browser }}
73
+ run : pytest -vv --browser=${{ matrix.browser }} --junitxml=junit/test-results-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.browser }}.xml
74
74
- name : Test
75
75
if : ${{ matrix.os != 'windows-latest' }}
76
- run : pytest -vv --browser=${{ matrix.browser }} -n auto
76
+ run : pytest -vv --browser=${{ matrix.browser }} -n auto --junitxml=junit/test-results-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.browser }}.xml
77
+ - name : Upload pytest test results
78
+ uses : actions/upload-artifact@v1
79
+ with :
80
+ name : pytest-results-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.browser }}.xml
81
+ path : junit/test-results-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.browser }}.xml
82
+ # Use always() to always run this step to publish test results when there are test failures
83
+ if : ${{ always() }}
You can’t perform that action at this time.
0 commit comments