Skip to content

Commit 8243086

Browse files
committed
chore(test): Set dependency level, quote pre-release URL
1 parent 21375fc commit 8243086

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/python_tests.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,20 @@ defaults:
1919

2020
jobs:
2121
build:
22+
runs-on: ${{ matrix.os }}
2223
strategy:
2324
fail-fast: false
2425
matrix:
25-
platform: [ubuntu-latest, macos-latest, windows-latest]
26+
os: [ubuntu-latest, macos-latest, windows-latest]
2627
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
28+
dependencies: ['full', 'pre']
29+
include:
30+
- os: ubuntu-latest
31+
python-version: '3.8'
32+
dependencies: 'min'
2733

28-
runs-on: ${{ matrix.platform }}
34+
env:
35+
DEPENDS: ${{ matrix.dependencies }}
2936

3037
steps:
3138
- uses: actions/checkout@v4

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pass_env =
4141
extras = test
4242
deps =
4343
min: bidsschematools ==0.9.0
44-
pre: bidsschematools @ git+https://github.com/bids-standard/bids-specification.git#subdirectory=tools/schemacode
44+
pre: 'bidsschematools @ git+https://github.com/bids-standard/bids-specification.git#subdirectory=tools/schemacode'
4545
commands =
4646
pytest --doctest-modules --cov bids_validator --cov-report xml --cov-report term \
4747
--junitxml=test-results.xml -v src/ {posargs}

0 commit comments

Comments
 (0)