diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 88eb24f9330a2782df1f506403e481a38172c355..780811e846da0520e13c2a7c014715bb1b27d7fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,7 +68,11 @@ jobs: elif [ "${{ matrix.PYTEST_QT_API }}" = "pyqt4v2" ]; then conda install -q -y pyqt=4 -c conda-forge else # pyqt5 - conda install -q -y pyqt=5 + if [ "${{ matrix.os }}" = "macos-latest" -a "${{ matrix.python-version }}" = "3.7" ]; then + pip install pyqt5 + else + conda install -q -y pyqt=5 + fi fi if [ "${{ matrix.os }}" != "windows-latest" ]; then conda install -q -y help2man