Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store COVERAGE_PATH on data branch #271

Merged
merged 1 commit into from
Sep 23, 2023
Merged

Store COVERAGE_PATH on data branch #271

merged 1 commit into from
Sep 23, 2023

Conversation

kieferro
Copy link
Member

Addition to #255
Working on #211 I realized that we also need to store the coverage path to be able to compare the branches

@github-actions
Copy link

End-to-end public repo

@github-actions
Copy link

Coverage report

The coverage rate went from 100% to 100% ➡️
The branch rate is 100%.

100% of new lines are covered.

Diff Coverage details (click to unfold)

coverage_comment/files.py

100% of new lines are covered (100% of the complete file).

@ewjoachim
Copy link
Member

Is it to support cases where the coverage path changed between the main branch and the PR ?

Copy link
Member

@ewjoachim ewjoachim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure yet I understand why the change but the code does what it says it does.

@kieferro
Copy link
Member Author

Is it to support cases where the coverage path changed between the main branch and the PR ?

Yes. This is of course a fairly rare case, but it may be that all the files remain in the same place, but the place from which they are tested changes.

@kieferro kieferro merged commit 526de47 into main Sep 23, 2023
4 checks passed
@kieferro kieferro deleted the save-more-data2 branch September 23, 2023 00:03
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.

2 participants