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 935eb98
Showing 1 changed file with 12 additions and 4 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.NEW_PYPI_TEST_API_TOKEN_GLOBAL }}
TWINE_REPOSITORY_URL: https://test.pypi.org/legacy/

# 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

0 comments on commit 935eb98

Please sign in to comment.