Skip to content

Commit

Permalink
Add additional numba_coverage job
Browse files Browse the repository at this point in the history
  • Loading branch information
sk1p committed Mar 13, 2024
1 parent 6c6beb8 commit 05c6901
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,20 @@ jobs:
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

numba_coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 'Choose Python version 3.12'
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: install the package
run: python3 -m pip install .[test]
- name: run pytest
run: NUMBA_DISABLE_JIT=1 pytest --cov=microscope_calibration --cov-report=xml --cov-report=term tests/
- name: submit code coverage
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 05c6901

Please sign in to comment.