From 5d0121bab111c2008598c6eecb5dd5bc852ce72b Mon Sep 17 00:00:00 2001 From: Ivan Finch Date: Fri, 13 Sep 2024 10:11:09 +0100 Subject: [PATCH] Trigger pipeline after git tag push --- .github/workflows/publish-to-test-pypi.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-to-test-pypi.yml b/.github/workflows/publish-to-test-pypi.yml index f3bce13..fe56b41 100644 --- a/.github/workflows/publish-to-test-pypi.yml +++ b/.github/workflows/publish-to-test-pypi.yml @@ -47,17 +47,17 @@ jobs: PYTHON_PATH=$(which python) sudo $PYTHON_PATH -m coverage run --source=. -m unittest discover tests/ - name: Gather coverage statistics + if: ${{ always() }} run: | coverage report -m coverage xml - if: ${{ always() }} - name: Upload pytest test results + if: ${{ always() }} uses: actions/upload-artifact@v4 with: name: coverage-results-${{ matrix.os }}-${{ matrix.python-version }} path: coverage.xml # Use always() to always run this step to publish test results when there are test failures - if: ${{ always() }} build: name: Build distribution 📦