You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: