diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index db4cb3c..1ed6308 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }}