Skip to content

Commit 9399205

Browse files
committed
update workflow uploading testresults also if test failes and disable fail fast
1 parent 1e34b9b commit 9399205

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
test:
1515
runs-on: ${{ matrix.os }}
1616
strategy:
17+
fail-fast: false
1718
matrix:
1819
os: [macos-latest, ubuntu-latest, windows-latest]
1920
python-version: ["3.8", "3.9", "3.10"]
@@ -37,7 +38,9 @@ jobs:
3738
- name: "test python packages"
3839
run: poetry run pytest --junitxml=test-results/python-${{ matrix.python-version }}/test-results.xml --cov=robotcode --cov-report=xml:testresults/python-${{ matrix.python-version }}/coverage.xml --cov-report=html:test-results/python-${{ matrix.python-version }}/htmlcov
3940

40-
- uses: actions/upload-artifact@v2
41+
- name: upload test results
42+
if: always()
43+
uses: actions/upload-artifact@v2
4144
with:
4245
name: test-results-${{ matrix.os }}-${{ matrix.python-version }}
4346
path: test-results

0 commit comments

Comments
 (0)