Skip to content

CI: Disable numba for coverage#98

Open
wong-hl wants to merge 1 commit intomasterfrom
coverage-numba
Open

CI: Disable numba for coverage#98
wong-hl wants to merge 1 commit intomasterfrom
coverage-numba

Conversation

@wong-hl
Copy link
Collaborator

@wong-hl wong-hl commented Nov 19, 2025

When numba JIT is enabled, coverage isn't able to capture that that code has been tested. This adds whether numba JIT is disabled to the matrix. If it is disabled, then pytest will run with coverage. If it enabled, pytest will run normally.

The uploading of coverage reports to codecov are similarly conditioned to only occur when JIT is disabled.

This ensures that coverage is reflective and that JIT-ing is tested

When numba jit is enabled, coverage isn't able to capture that that code has been tested. This adds whether numba JIT is disabled to the matrix. If it is disabled, then pytest will run with coverage. If it enabled, pytest will run normally.

The uploading of coverage reports to codecov are similarly conditioned to only occur when JIT is disabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant