Skip to content

Commit eeec806

Browse files
Merge pull request #175 from oscarbenjamin/pr_sympy_ci
Add CI job to test against released SymPy
2 parents 069d24d + 665768c commit eeec806

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/buildwheel.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,26 @@ jobs:
138138
- run: pip install .
139139
- run: python -m flint.test --verbose
140140

141+
# Run SymPy test suite against python-flint master
142+
test_sympy:
143+
name: Test SymPy ${{ matrix.sympy-version }}
144+
runs-on: ubuntu-24.04
145+
strategy:
146+
fail-fast: false
147+
matrix:
148+
sympy-version: ['1.13.1']
149+
steps:
150+
- uses: actions/checkout@v4
151+
- uses: actions/setup-python@v5
152+
with:
153+
python-version: '3.12'
154+
- run: sudo apt-get update
155+
- run: sudo apt-get install libflint-dev
156+
- run: pip install .
157+
- run: pip install pytest pytest-xdist hypothesis
158+
- run: pip install sympy==${{ matrix.sympy-version }}
159+
- run: python -c 'import sympy; sympy.test(parallel=True)'
160+
141161
# For older Ubuntu we have to build Flint >= 3.0.0
142162
test_flint_versions:
143163
name: Test flint ${{ matrix.flint-tag }}

0 commit comments

Comments
 (0)