From 172b51b7acacbdc5a869412b6bd893e1a6258f60 Mon Sep 17 00:00:00 2001 From: Oriya Alperin <73301483+oriyalperin@users.noreply.github.com> Date: Sun, 19 May 2024 14:19:16 +0300 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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