Skip to content

Commit

Permalink
Add comments for python version and image in python publish workflow
Browse files Browse the repository at this point in the history
We are only building and testing for cpython >= 3.6 and we need to use
manylinux2014 to install the pyqt5 wheel for the test command.
  • Loading branch information
karenc authored and bluemellophone committed Jul 21, 2020
1 parent 2e0284f commit caf65e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ jobs:

- name: Build wheel
env:
# Build and test for cpython >= 3.6 on x86_64 architecture
CIBW_BUILD: cp3?-*
CIBW_SKIP: cp35-* *-win32 *-win_amd64 *-manylinux_i686 *-manylinux_aarch64 *-manylinux_ppc64le *-manylinux_s390x
# Using manylinux2014 because running the test command requires
# pyqt5 which only has wheels for manylinux2014
CIBW_MANYLINUX_X86_64_IMAGE: quay.io/pypa/manylinux2014_x86_64
CIBW_TEST_COMMAND: python -c "import wbia; from wbia.__main__ import main; main()"
run: |
Expand Down

0 comments on commit caf65e9

Please sign in to comment.