File tree 4 files changed +8
-8
lines changed
4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -21,17 +21,17 @@ jobs:
21
21
22
22
- name : Install packages
23
23
run : |
24
- python -m pip install --upgrade pip wheel setuptools
24
+ python -m pip install --upgrade pip wheel setuptools spin
25
25
python -m pip install ".[test]"
26
26
python -m pip install --upgrade numpy
27
27
python -m pip uninstall --yes scipy
28
28
pip list
29
29
30
30
- name : Measure test coverage
31
31
run : |
32
- python -m pytest --cov=lazy_loader --durations=10
32
+ spin test -c -- --durations=10
33
33
# Tests fail if using `--doctest-modules`. I.e.,
34
- # python -m pytest --cov=src --durations=10 --doctest-modules
34
+ # spin test -- --doctest-modules
35
35
36
36
- name : Upload coverage to Codecov
37
37
uses : codecov/codecov-action@v5
Original file line number Diff line number Diff line change 26
26
- name : Build wheels
27
27
run : |
28
28
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
31
31
32
32
- name : Publish package distributions to PyPI
33
33
uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change 25
25
26
26
- name : Install dependencies
27
27
run : |
28
- python -m pip install --upgrade pip
28
+ python -m pip install --upgrade pip spin
29
29
python -m pip install ".[test]"
30
30
31
31
- name : Test
32
32
run : |
33
- python -m pytest
33
+ spin test
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ dependencies = [
26
26
[project .optional-dependencies ]
27
27
test = [" pytest >= 8.0" , " pytest-cov >= 5.0" , " coverage[toml] >= 7.2" ]
28
28
lint = [" pre-commit == 4.2.0" ]
29
- dev = [" changelist == 0.5" ]
29
+ dev = [" changelist == 0.5" , " spin == 0.14 " ]
30
30
31
31
[project .urls ]
32
32
Home = " https://scientific-python.org/specs/spec-0001/"
You can’t perform that action at this time.
0 commit comments