Skip to content

Commit

Permalink
chore(test): Set dependency level, quote pre-release URL
Browse files Browse the repository at this point in the history
effigies committed May 25, 2024
1 parent 21375fc commit 4500b2a
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/python_tests.yml
Original file line number Diff line number Diff line change
@@ -19,13 +19,20 @@ defaults:

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
dependencies: ['full', 'pre']
include:
- os: ubuntu-latest
python-version: '3.8'
dependencies: 'min'

runs-on: ${{ matrix.platform }}
env:
DEPENDS: ${{ matrix.dependencies }}

steps:
- uses: actions/checkout@v4
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ pass_env =
extras = test
deps =
min: bidsschematools ==0.9.0
pre: bidsschematools @ git+https://github.com/bids-standard/bids-specification.git#subdirectory=tools/schemacode
pre: git+https://github.com/bids-standard/bids-specification.git\#subdirectory=tools/schemacode
commands =
pytest --doctest-modules --cov bids_validator --cov-report xml --cov-report term \
--junitxml=test-results.xml -v src/ {posargs}

0 comments on commit 4500b2a

Please sign in to comment.