diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml index 77d876cfa..abcfc2220 100644 --- a/.github/workflows/testsuite.yml +++ b/.github/workflows/testsuite.yml @@ -81,7 +81,7 @@ jobs: - name: Determine Cython cache dir id: cython-cache run: | - CACHE_DIR=$(python -c 'import os; from Cython.Utils import get_cython_cache_dir; print(os.path.join(get_cython_cache_dir(), "brian_extensions"))') + CACHE_DIR=$(python -c 'from brian2.codegen.runtime.cython_rt.extension_manager import get_cython_cache_dir; print(get_cython_cache_dir())') echo "Cython cache dir: $CACHE_DIR" echo "cachedir=$CACHE_DIR" >> "$GITHUB_OUTPUT"