Skip to content

Commit

Permalink
run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Aug 5, 2024
1 parent c9ea6da commit ef01fc7
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,22 @@ jobs:
- uses: actions/setup-python@v5
- name: Install dependencies
run: |
python -m pip install -U pip wheel setuptools setuptools-scm twine build check-manifest
python -m pip install -U build check-manifest pip pytest setuptools setuptools-scm twine wheel
- name: Build distributions
run: python -m build --sdist --wheel . --outdir dist

- name: CheckFiles
run: |
ls dist
check-manifest --verbose
- name: Test wheels
run: |
cd dist && python -m pip install *.whl
python -m twine check *
run: >
cd dist
&& python -m twine check *
&& python -m pip install *.whl
&& cp --recursive ../tests .
&& python -m pytest -rxs tests
- name: Publish to PyPI
if: success() && github.event_name == 'release'
Expand Down

0 comments on commit ef01fc7

Please sign in to comment.