From b368ac2efdb13a3a96ae36be66cf3615aee2d2dc Mon Sep 17 00:00:00 2001 From: Roy Smart Date: Sat, 25 May 2024 21:24:21 -0600 Subject: [PATCH 1/2] Modified Test CI to run with Numba disabled. --- .github/workflows/tests.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4646d14..ac47f5d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -30,7 +30,12 @@ jobs: - name: Test with pytest run: | pip install pytest pytest-cov - pytest --doctest-modules --junitxml=junit/test-results.xml --cov=. --cov-report=xml --cov-report=html + pytest --cov=. --cov-report=xml + - name: Test with Numba disabled + env: + NUMBA_DISABLE_JIT: 1 + run: | + pytest --cov=. --cov-report=xml - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 with: From 571a11dd0062d5ab7d075cf50222560e9640f0d5 Mon Sep 17 00:00:00 2001 From: Roy Smart Date: Sat, 25 May 2024 21:27:03 -0600 Subject: [PATCH 2/2] workflow fixes --- .github/workflows/tests.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ac47f5d..9955c24 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,7 +1,12 @@ name: tests -on: [push, workflow_dispatch, pull_request] +on: + push: + branches: + - main + pull_request: + jobs: build: