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

make coverage script fail on go test #109

Merged
merged 1 commit into from
Oct 8, 2021
Merged

Conversation

matheusalcantarazup
Copy link
Contributor

Previously if some test fail during go test execution the coverage
script still finish with exit code 0. This commit change the behaviour
of coverage script to fail if go test command fail.

Co-authored-by: Matheus Alcantara matheus.alcantara@zup.com.br

- What I did

- How to verify it

- Description for the changelog

@iancardosozup
Copy link
Contributor

commits body message must be in Signed-off-by: Matheus Alcantara <matheus.alcantara@zup.com.br> this format to pass DCO validation

@wiliansilvazup
Copy link
Contributor

commits body message must be in Signed-off-by: Matheus Alcantara <matheus.alcantara@zup.com.br> this format to pass DCO validation

@matheusalcantarazup change the commit body to Signed-off-by to mark the check in the DCO pipeline

Previously if some test fail during go test execution the coverage
script still finish with exit code 0. This commit change the behaviour
of coverage script to fail if go test command fail.

Signed-off-by: Matheus Alcantara <matheus.alcantara@zup.com.br>
@wiliansilvazup wiliansilvazup merged commit 90927d8 into main Oct 8, 2021
@wiliansilvazup wiliansilvazup deleted the fix-coverage-script branch October 8, 2021 16:50
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.

5 participants