diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 694077f..2b4face 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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