Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.8']
python-version: ['3.10']
os: [ubuntu-latest]
pytest: ['"pytest<8.0"']
# pip cache paths
include:
- os: ubuntu-latest
Expand All @@ -40,7 +41,7 @@ jobs:
# Install dependencies
- name: Install
run: |
python -m pip install numpy scipy matplotlib pytest
python -m pip install numpy scipy matplotlib ${{matrix.pytest}}
python -m pip install -e .

- name: Self-test
Expand All @@ -61,7 +62,8 @@ jobs:

- name: Run testmod a scipy submodule -- Public API onlly
run: |
python -c'from scipy import linalg; from scpdt import testmod; testmod(linalg, verbose=True, strategy="api")'
python -mpip install pooch
python -c'from scipy import ndimage; from scpdt import testmod; testmod(ndimage, verbose=True, strategy="api")'

- name: Test pytest plugin
# This test will fail in a venv where scpdt has not been installed and the plugin has not been activated
Expand Down