Skip to content

Commit

Permalink
Modified Test CI to run with Numba disabled. (#2)
Browse files Browse the repository at this point in the history
* Modified Test CI to run with Numba disabled.

* workflow fixes
  • Loading branch information
byrdie authored May 26, 2024
1 parent dd36750 commit 07a4aed
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@

name: tests

on: [push, workflow_dispatch, pull_request]
on:
push:
branches:
- main
pull_request:


jobs:
build:
Expand Down Expand Up @@ -30,7 +35,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:
Expand Down

0 comments on commit 07a4aed

Please sign in to comment.