From d3c1976884c1ddae6c74ecfa263966dc62b6bf1e Mon Sep 17 00:00:00 2001 From: Till Prochaska Date: Thu, 14 Dec 2023 12:20:58 +0100 Subject: [PATCH] Call make targets in GitHub Actions workflows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … to ensure consistent processes during development and in CI. --- .github/workflows/build.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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