Skip to content

Commit

Permalink
Merge pull request #114 from IMMM-SFA/bugfix/failing-test-action
Browse files Browse the repository at this point in the history
only push to test.pypi on a tagged push, fix test badge
  • Loading branch information
erexer authored Nov 18, 2024
2 parents 1cde4dc + e062c3b commit 3b76f7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ jobs:
publish-to-testpypi:
name: Publish to TestPyPI
if: startsWith(github.ref, 'refs/tags/') # only publish to test.PyPI on tag pushes
needs:
- build
runs-on: ubuntu-latest
Expand All @@ -122,4 +123,4 @@ jobs:
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
verbose: true
verbose: true
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![build](https://github.com/IMMM-SFA/mosartwmpy/actions/workflows/build.yml/badge.svg)](https://github.com/IMMM-SFA/mosartwmpy/actions/workflows/build.yml)
[![test](https://github.com/IMMM-SFA/mosartwmpy/actions/workflows/test.yml/badge.svg)](https://github.com/IMMM-SFA/mosartwmpy/actions/workflows/test.yml)
[![codecov](https://codecov.io/gh/IMMM-SFA/mosartwmpy/branch/main/graph/badge.svg?token=IPOY8984MB)](https://codecov.io/gh/IMMM-SFA/mosartwmpy)
[![DOI](https://joss.theoj.org/papers/10.21105/joss.03221/status.svg)](https://doi.org/10.21105/joss.03221)
[![DOI](https://zenodo.org/badge/312114600.svg)](https://zenodo.org/badge/latestdoi/312114600)
Expand Down

0 comments on commit 3b76f7c

Please sign in to comment.