File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -23,19 +23,22 @@ jobs:
23
23
- uses : actions/setup-python@v5
24
24
- name : Install dependencies
25
25
run : |
26
- python -m pip install -U pip wheel setuptools setuptools-scm twine build check-manifest
26
+ python -m pip install -U build check-manifest pip pytest setuptools setuptools-scm twine wheel
27
27
- name : Build distributions
28
28
run : python -m build --sdist --wheel . --outdir dist
29
29
30
30
- name : CheckFiles
31
31
run : |
32
32
ls dist
33
33
check-manifest --verbose
34
-
34
+
35
35
- name : Test wheels
36
- run : |
37
- cd dist && python -m pip install *.whl
38
- python -m twine check *
36
+ run : >
37
+ cd dist
38
+ && python -m twine check *
39
+ && python -m pip install *.whl
40
+ && cp --recursive ../tests .
41
+ && python -m pytest -rxs tests
39
42
40
43
- name : Publish to PyPI
41
44
if : success() && github.event_name == 'release'
You can’t perform that action at this time.
0 commit comments