Skip to content

Commit

Permalink
Add pip_install step
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro committed Jun 12, 2024
1 parent 60bf74c commit 1658e72
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,22 +106,22 @@ jobs:
path: dist/
if-no-files-found: error

# pip_install:
# name: Install PyPI
# runs-on: "ubuntu-latest"
# needs: [pip_build]
# steps:
# - uses: actions/setup-python@v5
# with:
# python-version: ${{ env.PYTHON_VERSION }}
# - uses: actions/download-artifact@v4
# with:
# name: pip
# path: dist/
# - name: Install package
# run: python -m pip install dist/*.whl
# - name: Test package
# run: python -c "import $PACKAGE; print($PACKAGE.__version__)"
pip_install:
name: Install PyPI
runs-on: "ubuntu-latest"
needs: [pip_build]
steps:
- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- uses: actions/download-artifact@v4
with:
name: pip
path: dist/
- name: Install package
run: python -m pip install dist/*.whl
- name: Test package
run: python -c "import $PACKAGE; print($PACKAGE.__version__)"
#
# pip_publish:
# name: Publish PyPI
Expand Down

0 comments on commit 1658e72

Please sign in to comment.