Skip to content

Commit

Permalink
(Issue #94) Try testing source distribution.
Browse files Browse the repository at this point in the history
  • Loading branch information
jared321 committed Sep 18, 2024
1 parent 2b694cf commit 08b71a4
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/publish_to_PyPI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,17 @@ jobs:
with:
name: Taweret-distributions
path: ${{ env.CLONE_PATH }}/dist
- name: Test source ditribution
run: |
ls -la $CLONE_PATH/dist/taweret-*.tar.gz
echo
which python
echo
python -m pip list
python -m pip install $CLONE_PATH/dist/taweret-*.tar.gz
python -c "import Taweret ; Taweret.__version__ ; Taweret.test()"
python -m pip uninstall --yes Taweret
python -m pip list
- name: Test binary wheel
run: |
ls -la $CLONE_PATH/dist/Taweret-*-py3-none-any.whl
Expand All @@ -79,5 +90,5 @@ jobs:
python -m pip list
python -m pip install $CLONE_PATH/dist/Taweret-*-py3-none-any.whl
python -c "import Taweret ; Taweret.__version__ ; Taweret.test()"
python -m pip uninstall Taweret
python -m pip uninstall --yes Taweret
python -m pip list

0 comments on commit 08b71a4

Please sign in to comment.