Skip to content

Commit

Permalink
include simple installation and version check on wheels, pre-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
abrammer committed May 25, 2021
1 parent 920a943 commit afbdc43
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,14 @@ jobs:
quay.io/pypa/${{ matrix.docker-image }} \
/io/continuous_integration/build-manylinux-wheels.sh
- name: Check version number from inside wheel
if: matrix.docker-image != 'manylinux1_i686'
run: |
mv pyresample unused_src_to_prevent_local_import
python -m pip install --find-links=./dist/ pyresample
python -c "import pyresample; print(pyresample.__file__, pyresample.__version__)"
python -c "import pyresample; assert 'unknown' not in pyresample.__version__, 'incorrect version found'"
- name: Upload wheel(s) as build artifacts
uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit afbdc43

Please sign in to comment.