Skip to content

Commit

Permalink
add step to publish to testpypi
Browse files Browse the repository at this point in the history
might need to also tweak the version here..
  • Loading branch information
radusuciu committed Feb 27, 2024
1 parent 21b683b commit e6b9502
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,10 @@ jobs:
run: |
source ${{ env.VIRTUAL_ENV }}/bin/activate
python -m pytest
- name: Publish to test repository
env:
PDM_PUBLISH_USERNAME: ${{ secrets.PDM_TEST_PUBLISH_USERNAME }}
PDM_PUBLISH_PASSWORD: ${{ secrets.PDM_TEST_PUBLISH_PASSWORD }}
run: |
source ${{ env.VIRTUAL_ENV }}/bin/activate
pdm publish --repository testpypi

0 comments on commit e6b9502

Please sign in to comment.