diff --git a/.github/workflows/test-and-publish.yml b/.github/workflows/test-and-publish.yml index 5cb8115..25c59e4 100644 --- a/.github/workflows/test-and-publish.yml +++ b/.github/workflows/test-and-publish.yml @@ -1,4 +1,4 @@ -name: Run tests and publish Python distribution to PyPI +name: Test & Publish on: [push, pull_request] @@ -60,7 +60,7 @@ jobs: path: database/ tests: - name: Call ci unit tests workflow + name: Testing uses: ./.github/workflows/ci.yml needs: - build @@ -77,7 +77,7 @@ jobs: - run: echo "null" update_ORM: - name: Call orm update workflow + name: Update ORM permissions: contents: write pull-requests: write @@ -90,8 +90,7 @@ jobs: publish-to-pypi: - name: >- - Publish Python distribution to PyPI + name: Publish PyPI if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes needs: - tests @@ -112,9 +111,7 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 github-release: - name: >- - Sign the Python distribution with Sigstore - and upload them to GitHub Release + name: Publish Github Release needs: - publish-to-pypi runs-on: ubuntu-latest