Skip to content

Commit

Permalink
fix: conditional for publishing was on wrong step
Browse files Browse the repository at this point in the history
  • Loading branch information
radusuciu committed Feb 27, 2024
1 parent dbaeb6c commit 441807c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ jobs:
python -m venv ${{ env.VIRTUAL_ENV }}
pdm sync --verbose --dev
- name: Run tests
if: matrix.python-version == '3.11'
run: |
source ${{ env.VIRTUAL_ENV }}/bin/activate
python -m pytest
- name: Publish to test repository
if: matrix.python-version == '3.11'
env:
PDM_PUBLISH_USERNAME: ${{ secrets.PDM_TEST_PUBLISH_USERNAME }}
PDM_PUBLISH_PASSWORD: ${{ secrets.PDM_TEST_PUBLISH_PASSWORD }}
Expand Down

0 comments on commit 441807c

Please sign in to comment.