Skip to content

Commit

Permalink
Merge pull request #73 from haasad/ci/expect-win-conda-failure
Browse files Browse the repository at this point in the history
Invert pipeline success to detect future windows mkl fix
  • Loading branch information
haasad authored Apr 6, 2024
2 parents 9ef2095 + 4df3c0b commit 0f7afd0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,18 @@ jobs:
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
id: tests
continue-on-error: true
shell: bash -l {0}
run: |
conda install pytest
python -m pytest
- name: invert failure
if: ${{ steps.tests.outcome != 'success' && matrix.os == 'windows-latest' }}
run: exit 0
- name: invert success
if: ${{ steps.tests.outcome == 'success' && matrix.os == 'windows-latest' }}
run: exit 1

pip-tests:
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 0f7afd0

Please sign in to comment.