Skip to content

Commit ef01fc7

Browse files
committed
run tests
1 parent c9ea6da commit ef01fc7

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/release.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,22 @@ jobs:
2323
- uses: actions/setup-python@v5
2424
- name: Install dependencies
2525
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
2727
- name: Build distributions
2828
run: python -m build --sdist --wheel . --outdir dist
2929

3030
- name: CheckFiles
3131
run: |
3232
ls dist
3333
check-manifest --verbose
34-
34+
3535
- 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
3942
4043
- name: Publish to PyPI
4144
if: success() && github.event_name == 'release'

0 commit comments

Comments
 (0)