Skip to content

Commit

Permalink
Call make targets in GitHub Actions workflows
Browse files Browse the repository at this point in the history
… to ensure consistent processes during development and in CI.
  • Loading branch information
tillprochaska committed Dec 14, 2023
1 parent b712136 commit d3c1976
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ jobs:
pip install setuptools
make install
- name: Run the tests
run: pytest
run: make test
- name: Validate typing
run: make typecheck
- name: Build a distribution
run: |
python setup.py sdist bdist_wheel
run: make dists
- name: Publish a Python distribution to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
Expand Down

0 comments on commit d3c1976

Please sign in to comment.