Skip to content

Commit

Permalink
Add step to ensure sdist can be installed
Browse files Browse the repository at this point in the history
We have historically made uninstallable source distributions (#8, #52,
maybe more). Adding a step that tries to install the newly-created
source distribution should reduce the chances of running into this
situation again.

Signed-off-by: Rodrigo Tobar <[email protected]>
  • Loading branch information
rtobar committed Aug 25, 2024
1 parent 2a8578e commit ca90b5a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ jobs:
- name: Build sdist
run: python setup.py sdist

- name: Test sdist can be installed
run: pip install dist/*.tar.gz

- uses: actions/upload-artifact@v4
with:
name: source-dist
Expand Down

0 comments on commit ca90b5a

Please sign in to comment.