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

ci: stop backend unit tests on first failure #4466

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

italojohnny
Copy link
Member

This change modifies the CI configuration to stop backend unit tests on the first failure. By doing this, we can save time and resources in the CI pipeline, as tests won’t continue to run after a failure is detected. This should speed up feedback loops and reduce unnecessary processing.

reference: https://docs.pytest.org/en/stable/how-to/failures.html

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Nov 8, 2024
@italojohnny italojohnny changed the title ci: stop backend tests on first failure ci: stop backend unit tests on first failure Nov 8, 2024
@italojohnny italojohnny enabled auto-merge (squash) November 8, 2024 12:39
Copy link
Contributor

@ogabrielluiz ogabrielluiz left a comment

Choose a reason for hiding this comment

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

LGTM

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Nov 8, 2024
@ogabrielluiz ogabrielluiz force-pushed the ci/stop_backend_unit_tests_on_first_fail branch from 4669787 to 8d9a54e Compare November 8, 2024 12:58
@italojohnny italojohnny merged commit 19301b1 into main Nov 8, 2024
26 of 27 checks passed
@italojohnny italojohnny deleted the ci/stop_backend_unit_tests_on_first_fail branch November 8, 2024 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants