File tree Expand file tree Collapse file tree 3 files changed +6
-28
lines changed
Expand file tree Collapse file tree 3 files changed +6
-28
lines changed Original file line number Diff line number Diff line change 1616 API_KEY : ${{ secrets.API_KEY }}
1717
1818jobs :
19- build-and-test :
19+ build-and-test-python3 :
2020 runs-on : ubuntu-latest
2121 steps :
2222 - uses : actions/checkout@v4
3636 run : |
3737 python -m unittest discover
3838
39- run-integration-tests :
39+ run-integration-tests-python3 :
4040 runs-on : ubuntu-latest
4141 if : ${{ github.ref == 'refs/heads/master' }}
4242 steps :
Original file line number Diff line number Diff line change @@ -27,11 +27,12 @@ jobs:
2727 fi
2828 - name : Create distribution files
2929 run : |
30- python3 setup.py sdist
30+ python -m pip install build
31+ python -m build
3132 - name : Upload distribution files
3233 env :
3334 TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
3435 TWINE_USER : ${{ secrets.USER }}
3536 run : |
36- python3 -m pip install --user --upgrade twine
37- ls dist/ | xargs -I % python3 -m twine upload --repository pypi dist/%
37+ python -m pip install --user --upgrade twine
38+ ls dist/ | xargs -I % python -m twine upload --repository pypi dist/%
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments