Skip to content

Commit

Permalink
Test twine distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
clyde-johnston committed Jun 10, 2023
1 parent 6c4e4df commit a3ef9e0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/make-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
push:
branches:
- master
- issue-259

# Ensures that only one workflow is running at a time
concurrency:
Expand Down Expand Up @@ -62,13 +63,14 @@ jobs:
route print
ipconfig /all
# Run test suite
- name: Run nox tests
# Run build and test suite
- name: Run build and test
if: false
run: |
nox --non-interactive --error-on-missing-interpreters --session test pristine --python ${{ matrix.python }}
nox --non-interactive --session demo check_style docs
# Save test logs
# Save logs
- name: Save logs
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -104,7 +106,12 @@ jobs:
# Upload distribution to pypi.org
- name: Upload distribution
run: python -m twine upload dist/*
run: |
python -m twine upload dist/*
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TEST_API_TOKEN_GLOBAL }}
TWINE_REPOSITORY: testpypi

# Tag release
- name: Push version tag
Expand All @@ -113,3 +120,4 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
custom_tag: ${{ env.pycyphal_version }}
tag_prefix: ''
dry_run: true
2 changes: 1 addition & 1 deletion pycyphal/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.15.2"
__version__ = "1.15.1"

0 comments on commit a3ef9e0

Please sign in to comment.