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

chore: Add 'lf' and 'ff' options to Makefile for pytest configuration #4494

Merged
merged 1 commit into from
Nov 11, 2024

Conversation

ogabrielluiz
Copy link
Contributor

@ogabrielluiz ogabrielluiz commented Nov 11, 2024

This pull request includes updates to the Makefile to enhance the flexibility and functionality of running unit tests. The most important changes include the addition of new flags for controlling test execution and the simplification of conditional logic for running tests.

Enhancements to test execution:

  • Makefile: Added new flags lf and ff to control the behavior of the pytest command, allowing tests to run with the --lf (last-failed) and --ff (failed-first) options.

Simplification of conditional logic:

  • Makefile: Simplified the conditional logic for running unit tests by consolidating the pytest command into a single block with dynamically constructed arguments based on the values of async, lf, and ff.

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Nov 11, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Nov 11, 2024
@ogabrielluiz ogabrielluiz enabled auto-merge (squash) November 11, 2024 18:44
@ogabrielluiz ogabrielluiz merged commit 6b3bf7b into main Nov 11, 2024
9 checks passed
@ogabrielluiz ogabrielluiz deleted the add-make-lf branch November 11, 2024 18:59
edwinjosechittilappilly pushed a commit that referenced this pull request Nov 11, 2024
…#4494)

Add 'lf' and 'ff' options to Makefile for pytest configuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ignore-for-release lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants