From d32b8714e026b5e0ab49812a87174edbd829b26a Mon Sep 17 00:00:00 2001 From: Jerome Kelleher Date: Sun, 11 Feb 2024 11:13:42 +0000 Subject: [PATCH] Manually turn on numba cache to workaround #1194 --- .github/workflows/build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 17522d05b..0f90fe558 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,10 +29,16 @@ jobs: - name: Run pre-commit uses: pre-commit/action@v2.0.0 - name: Test with pytest + env: + # Enable cache to workaround build problems + # https://github.com/pystatgen/sgkit/issues/1194 + SGKIT_DISABLE_NUMBA_CACHE: 0 run: | pytest -v - name: Test with pytest and coverage (numba jit disabled) env: + # See above ^ + SGKIT_DISABLE_NUMBA_CACHE: 0 NUMBA_DISABLE_JIT: 1 run: | pytest -v --cov=sgkit --cov-report=term-missing