File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -21,17 +21,17 @@ jobs:
2121
2222 - name : Install packages
2323 run : |
24- python -m pip install --upgrade pip wheel setuptools
24+ python -m pip install --upgrade pip wheel setuptools spin
2525 python -m pip install ".[test]"
2626 python -m pip install --upgrade numpy
2727 python -m pip uninstall --yes scipy
2828 pip list
2929
3030 - name : Measure test coverage
3131 run : |
32- python -m pytest --cov=lazy_loader --durations=10
32+ spin test -c -- --durations=10
3333 # Tests fail if using `--doctest-modules`. I.e.,
34- # python -m pytest --cov=src --durations=10 --doctest-modules
34+ # spin test -- --doctest-modules
3535
3636 - name : Upload coverage to Codecov
3737 uses : codecov/codecov-action@v5
Original file line number Diff line number Diff line change 2626 - name : Build wheels
2727 run : |
2828 git clean -fxd
29- pip install -U build twine wheel
30- python -m build --sdist --wheel
29+ pip install -U build twine wheel spin
30+ spin sdist -- --wheel
3131
3232 - name : Publish package distributions to PyPI
3333 uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change 2525
2626 - name : Install dependencies
2727 run : |
28- python -m pip install --upgrade pip
28+ python -m pip install --upgrade pip spin
2929 python -m pip install ".[test]"
3030
3131 - name : Test
3232 run : |
33- python -m pytest
33+ spin test
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ dependencies = [
2626[project .optional-dependencies ]
2727test = [" pytest >= 8.0" , " pytest-cov >= 5.0" , " coverage[toml] >= 7.2" ]
2828lint = [" pre-commit == 4.2.0" ]
29- dev = [" changelist == 0.5" ]
29+ dev = [" changelist == 0.5" , " spin == 0.14 " ]
3030
3131[project .urls ]
3232Home = " https://scientific-python.org/specs/spec-0001/"
You can’t perform that action at this time.
0 commit comments