Skip to content

Commit

Permalink
Install Qt on GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Nov 3, 2020
1 parent b01567f commit 8ec8d23
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .ci/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ if [ "$GHA_PYTHON_VERSION" == "3.8" ]; then python3 -m pip install -U "setuptool
if [ "$GHA_PYTHON_VERSION" == "3.9" ]; then python3 -m pip install -U "setuptools>=49.3.2" ; fi
if [ "$TRAVIS_PYTHON_VERSION" == "pypy3.6-7.3.1" ]; then python3 -m pip install -U "setuptools>=49.3.2" ; fi

if [[ $TRAVIS_PYTHON_VERSION == 3.* ]]; then
# PyQt5 doesn't support PyPy3
# Wheel doesn't yet support 3.10
if [[ $GHA_PYTHON_VERSION == 3.* && $GHA_PYTHON_VERSION != "3.10-dev" ]]; then
# arm64, ppc64le, s390x CPUs:
# "ERROR: Could not find a version that satisfies the requirement pyqt5"
if [[ $TRAVIS_CPU_ARCH == "amd64" ]]; then
sudo apt-get -qq install libxcb-xinerama0 pyqt5-dev-tools
python3 -m pip install pyqt5
fi
fi

# docs only on Python 3.9
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,9 @@ jobs:
.ci/build.sh
- name: Test
run: |
.ci/test.sh
uses: GabrielBB/xvfb-action@v1
with:
run: .ci/test.sh
env:
PYTHONOPTIMIZE: ${{ matrix.PYTHONOPTIMIZE }}

Expand Down

0 comments on commit 8ec8d23

Please sign in to comment.