diff --git a/.github/workflows/macos-install.sh b/.github/workflows/macos-install.sh index 6cd9dadf3..6bf3ca7d3 100755 --- a/.github/workflows/macos-install.sh +++ b/.github/workflows/macos-install.sh @@ -11,7 +11,11 @@ pip install -U pytest pip install -U pytest-cov pip install pyroma pip install test-image-results -pip install numpy +if [[ $PYTHON_VERSION == "pypy3" ]]; then + pip install numpy!=1.19.0 +else + pip install numpy +fi # extra test images pushd depends && ./install_extra_test_images.sh && popd diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b8d2c6374..e67e3f9d1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -73,6 +73,8 @@ jobs: if: startsWith(matrix.os, 'macOS') run: | .github/workflows/macos-install.sh + env: + PYTHON_VERSION: ${{ matrix.python-version }} - name: Build run: |