Skip to content

Commit 167f8e6

Browse files
committed
Added deploy test step before deploy
1 parent 62d1892 commit 167f8e6

File tree

2 files changed

+6
-31
lines changed

2 files changed

+6
-31
lines changed

.github/workflows/deploy-test.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/workflows/deploy.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ jobs:
2323
run: |
2424
python -m build
2525
python -m twine check dist/*
26+
- name: Upload package to TestPyPI
27+
run: |
28+
python -m twine upload -r testpypi dist/* --verbose
29+
env:
30+
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME_TEST }}
31+
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD_TEST }}
2632
- name: Upload package to PyPI
2733
run: |
2834
python -m twine upload -r pypi dist/* --verbose

0 commit comments

Comments
 (0)