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: Do not run the tests if linting fails #1873

Merged
merged 2 commits into from
Apr 16, 2023

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Apr 16, 2023

image

Running the complete test matrix on GitHub Actions takes a lot of time and CPU. Given that the ruff linting job is so quick (~5 seconds) let's ensure that linting passes before the complete test matrix is run. This will cost a few seconds on each run but could save a lot of time and contention for PRs that should be cleaned up before they are fully tested.

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idneeds

cclauss added 2 commits April 16, 2023 18:53

Verified

This commit was signed with the committer’s verified signature.
gouthamve Goutham Veeramachaneni

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@acdha acdha merged commit 70091e9 into django-haystack:master Apr 16, 2023
@cclauss cclauss deleted the do-not-test-if-linting-fails branch April 16, 2023 18:36
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.

None yet

2 participants