Skip to content

Commit ee63b09

Browse files
committed
#285 Pair each Python version with a specific sympy version in CI
1 parent f5deb05 commit ee63b09

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

‎.github/workflows/pytest.yml‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,19 @@ jobs:
44
build:
55
runs-on: ubuntu-latest
66
strategy:
7+
fail-fast: false
78
matrix:
8-
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
9+
include:
10+
- python-version: "3.10"
11+
sympy-version: "1.10"
12+
- python-version: "3.11"
13+
sympy-version: "1.11"
14+
- python-version: "3.12"
15+
sympy-version: "1.12"
16+
- python-version: "3.13"
17+
sympy-version: "1.13"
18+
- python-version: "3.14"
19+
sympy-version: "1.14"
920
steps:
1021
- name: Checkout repository and submodules
1122
uses: actions/checkout@v7
@@ -20,6 +31,7 @@ jobs:
2031
python3 -m pip install --upgrade pip
2132
python3 -m pip install flake8 pytest
2233
python3 -m pip install .[test]
34+
python3 -m pip install "sympy==${{ matrix.sympy-version }}"
2335
- name: Lint with flake8
2436
run: |
2537
python3 -m flake8

0 commit comments

Comments
 (0)