diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 076f238..790a344 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -99,7 +99,11 @@ jobs: run: | pip install --upgrade pip wheel setuptools pip install -r requirements/default.txt -r requirements/test.txt - pip install --global-option=build_ext --global-option="-I/usr/local/include/" --global-option="-L/usr/local/lib/" pygraphviz + pip install --no-cache-dir \ + --config-settings="--global-option=build_ext" \ + --config-settings="--global-option=-I$(brew --prefix graphviz)/include/" \ + --config-settings="--global-option=-L$(brew --prefix graphviz)/lib/" \ + pygraphviz pip install -r requirements/extra.txt pip install . pip list