Skip to content

Commit

Permalink
CI package.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
fabricebrito committed Dec 13, 2024
1 parent c038aef commit bab988b
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,8 @@ jobs:
- name: Build package
run: hatch build
- name: Test package
run: hatch -e test run nose2 --verbose
- name: Publish package distributions to Test PyPI
if: github.ref != 'refs/heads/master'
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true
repository-url: https://test.pypi.org/legacy/
run: hatch -e test run nose2 --verbose
- name: Publish package distributions to PyPI
if: github.ref == 'refs/heads/master'
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true
Expand Down

0 comments on commit bab988b

Please sign in to comment.