Skip to content

Commit

Permalink
Update tests GitHub Actions to build the package
Browse files Browse the repository at this point in the history
  • Loading branch information
asmeurer committed Aug 21, 2024
1 parent 7b20c31 commit b61e91e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,19 @@ jobs:
else
python -m pip install --upgrade numpy==${{ matrix.numpy-version }}.*
fi
- name: Test Installation
run: |
python -m pip install .
- name: In-place build
run: |
python setup.py build_ext --inplace
- name: Run Doctests
run: |
./run_doctests
# A NumPy 2.0 compatible skimage doesn't support 3.9, and we need a
# version of matplotlib that requires NumPy 1.23. Easiest to just
# skip this for now.
if: matrix.numpy-version != 'dev' && matrix.python-version != '3.9' && matrix.numpy-version != '1.22'
- name: Test Installation
run: |
python -m pip install .
- name: Run Slotscheck
run: |
python -m slotscheck ndindex
Expand Down

0 comments on commit b61e91e

Please sign in to comment.