diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 780f582c42..f809a84254 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -58,12 +58,11 @@ jobs: brew install aspell # Add additional packages on 3.11: https://github.com/ethereum/execution-spec-tests/issues/274 if [ ${{ matrix.python }} == '3.11' ]; then brew install autoconf automake libtool; fi - - name: Verify Cairo Installation + - name: Set Library Paths if: runner.os == 'macOS' run: | - brew list --versions cairo - find /usr/local -name libcairo.so.2 - find /usr/local -name libcairo.2.dylib + echo "export DYLD_LIBRARY_PATH=$(brew --prefix cairo)/lib:$DYLD_LIBRARY_PATH" >> $GITHUB_ENV + echo "export LD_LIBRARY_PATH=$(brew --prefix cairo)/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV - name: Install Tox and any other packages run: pip install tox - name: Run Tox (CPython)