Skip to content

Commit

Permalink
tentative fixup CI
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Sep 3, 2024
1 parent 9bd616f commit 1cb916d
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,28 +22,35 @@ jobs:
# run all tests even if e.g. image tests fail early
fail-fast: false
matrix:
os: [
macos-latest,
windows-latest,
ubuntu-latest,
]
os:
- ubuntu-latest
- macos-latest
python-version: ['3.12']
dependencies: [full]
tests-type: [unit]
test-runner: [pytest]
venv-loc: [bin]
include:
- os: windows-latest
python-version: '3.12'
dependencies: full
tests-type: unit
test-runner: pytest
venv-loc: Scripts
- os: ubuntu-20.04
python-version: '3.9.2'
python-version: '3.10.0'
dependencies: minimal
tests-type: unit
test-runner: pytest
venv-loc: bin
- os: ubuntu-latest
# this job is necessary for non-answer, 'yield' based tests
# because pytest doesn't support such tests
python-version: '3.10'
dependencies: full
tests-type: unit
test-runner: nose
venv-loc: bin
- os: ubuntu-latest
# answer tests use 'yield', so they require nose
# they are also attached to a specific, occasionally updated, Python version
Expand All @@ -52,12 +59,14 @@ jobs:
dependencies: full
tests-type: answer
test-runner: nose
venv-loc: bin
- os: ubuntu-latest
# minimal tests with latest Python and no optional dependencies
python-version: '3.x'
dependencies: ''
tests-type: unit
test-runner: pytest
venv-loc: bin

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -85,7 +94,7 @@ jobs:
dependencies: ${{ matrix.dependencies }}
run: |
python -m venv .venv
source .venv/bin/activate
source .venv/${{matrix.venv-loc}}/activate
source ./tests/ci_install.sh
- name: Install and patch nosetest
Expand Down

0 comments on commit 1cb916d

Please sign in to comment.