Skip to content

Commit

Permalink
ci: Add extra check that the version installed is the version built.
Browse files Browse the repository at this point in the history
  • Loading branch information
nfelt14 committed Oct 6, 2023
1 parent 2122c72 commit 673dcd9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/package-testpypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
NEW_VERSION=$(python scripts/create_post_version_for_testpypi.py --version=$CURRENT_VERSION)
echo NEW_VERSION: $NEW_VERSION
python scripts/project_version.py --set-version=$NEW_VERSION
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
- uses: hynek/[email protected]
id: build-pkg
- name: Copy package to dist/ folder
Expand All @@ -46,4 +47,4 @@ jobs:
repository-url: https://test.pypi.org/legacy/
- name: Test installing from test.pypi.org
run: pip install --index-url=https://test.pypi.org/simple/ --extra-index-url=https://pypi.org/simple
tm_devices
tm_devices==${{ env.NEW_VERSION }}

0 comments on commit 673dcd9

Please sign in to comment.