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

Reducing the number of jobs in the CI, only running the last commit #34

Merged
merged 2 commits into from
Jun 4, 2024

Conversation

bruAristimunha
Copy link
Contributor

In a PR, each push executes continuous integration tests; however, if you commit and push multiple times within a PR, you create a queue of jobs and testing.

If you have tests that take longer, this ends up generating a long queue to have one test done. This is meaningless, as we always want to test only the last commit.

In this PR, we ensure that CI stops the tests for the previous push and runs the test only for the last one.

@mathurinm mathurinm merged commit a9b02f1 into benchopt:main Jun 4, 2024
mathurinm pushed a commit that referenced this pull request Jun 4, 2024
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.

2 participants