Not run tests multiple times, once on feature branch and once on main branch #195
Unanswered
tweaktastic
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Hello @tweaktastic 👋, Action runs tests twice because it reports additional information about your coverage (how it has increased / decreased, how new files are covered). It is not possible to disable this feature at this moment. Could you please clarify why you want to disable these features? Are you complaining about the speed of the action? I look forward to hearing from you. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi. I wanted to know if there is a way we can disable the test execution two times. I see that we have an option
threshold
that can be used to provide a minimum coverage that is needed for the check to pass. In this case, what would be the reason that the test suite is executed again on the main branch and the reports are compared?Shouldn't it just execute the suite once, on the feature branch, generate coverage and fail the check if the coverage falls less than this threshold?
Beta Was this translation helpful? Give feedback.
All reactions