Skip to content

Commit 27d5e3c

Browse files
committed
CI: Only test installation on top/bottom Python versions
Actually test through 3.12
1 parent 3314c18 commit 27d5e3c

File tree

2 files changed

+3
-16
lines changed

2 files changed

+3
-16
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,8 @@ jobs:
7878
runs-on: ubuntu-latest
7979
strategy:
8080
matrix:
81-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
82-
install: [repo]
83-
include:
84-
- python-version: "3.11"
85-
install: sdist
86-
- python-version: "3.11"
87-
install: wheel
88-
- python-version: "3.11"
89-
install: editable
81+
python-version: ["3.8", "3.12"]
82+
install: [repo, sdist, wheel, editable]
9083

9184
env:
9285
INSTALL_TYPE: ${{ matrix.install }}
@@ -127,12 +120,6 @@ jobs:
127120
test "${INSTALLED_VERSION}" = "${VERSION}"
128121
env:
129122
VERSION: ${{ needs.job_metadata.outputs.version }}
130-
- name: Install test dependencies
131-
run: python -m pip install "sdcflows[tests]"
132-
- name: Run tests
133-
run: pytest -sv --doctest-modules --cov sdcflows --pyargs sdcflows
134-
- uses: codecov/codecov-action@v3
135-
name: Submit to CodeCov
136123

137124
flake8:
138125
runs-on: ubuntu-latest

.github/workflows/unittests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
strategy:
3636
max-parallel: 5
3737
matrix:
38-
python-version: ["3.8", "3.9", "3.10"]
38+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
3939
deps: ["requirements"]
4040
include:
4141
- python-version: "3.8"

0 commit comments

Comments
 (0)