diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b3bd720..a15132d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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