Skip to content

Commit

Permalink
DNM: test fail-fast in separate job
Browse files Browse the repository at this point in the history
  • Loading branch information
dhomeier committed Apr 6, 2022
1 parent 24622a0 commit d21aa58
Showing 1 changed file with 11 additions and 23 deletions.
34 changes: 11 additions & 23 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,19 @@ on:
pull_request:

jobs:
tests:
unallowed_failures:
# Tests allowed to fail (but testing fail-fast just now)
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main
with:
fail-fast: true
display: true
envs: |
# UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 14099-14100: invalid continuation byte
- windows: py36-test
tests:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main
with:
display: true
coverage: codecov
libraries: |
Expand All @@ -27,31 +36,10 @@ jobs:
- linux: codestyle
# Standard tests
- linux: py36-test
- linux: py37-test
- linux: py38-test
- linux: py39-test
- linux: py310-test
- macos: py36-test
- macos: py37-test
- macos: py38-test
- macos: py39-test
- macos: py310-test
- windows: py37-test
- windows: py38-test
- windows: py39-test
allowed_failures:
# Tests allowed to fail (not to trigger cancellation of all in-progress jobs).
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main
with:
fail-fast: false
display: true
envs: |
# UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 14099-14100: invalid continuation byte
- windows: py36-test
# FileNotFoundError: Could not find module 'geos_c.dll' (or one of its dependencies). Try using the full path with constructor syntax.
- windows: py310-test
# OSError: Could not find library geos_c or load any of its variants
- macos: py310-test

0 comments on commit d21aa58

Please sign in to comment.