Skip to content

Commit 62cb4fc

Browse files
committed
CI: Run test on minimum requirements
1 parent 0453082 commit 62cb4fc

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,17 @@ concurrency:
1616

1717

1818
jobs:
19-
build:
19+
test:
2020

2121
runs-on: ubuntu-latest
2222
strategy:
2323
max-parallel: 4
2424
matrix:
25-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
25+
python-version: ['3.8', '3.9', '3.10', '3.11']
26+
requires: ['requirements.txt']
27+
include:
28+
- python-version: '3.8'
29+
requires: 'min-requirements.txt'
2630

2731
steps:
2832
- name: Checkout repo
@@ -34,7 +38,7 @@ jobs:
3438
- name: Install
3539
run: |
3640
python -m pip install --upgrade pip
37-
python -m pip install -r requirements.txt
41+
python -m pip install -r ${{ matrix.requires }}
3842
python -m pip install -r requirements-dev.txt
3943
python -m pip install .
4044
- name: Lint

0 commit comments

Comments
 (0)