-
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
In build.yaml following steps are defined:
I think the hatch run test:pytest
is wrong here.
a) It calls the test environment which is managed outside in the GitHub action (beside the fact, that for coverage I think there is no difference between different Python/OS version) so this is not helpful and causes overhead.
b) pytest just does not create the coverage report that the subsequent job / codecov action wants to retrieve.
I think the right call to be
hatch test -cover
which should be executed in the "hidden" hatch-test environment
However, I still have not yet resolved the coverage file not being found by the CodeCov action.
Metadata
Metadata
Assignees
Labels
No labels