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

Clean up Github Actions/buildkite #2393

Merged
merged 1 commit into from
Dec 22, 2023
Merged

Clean up Github Actions/buildkite #2393

merged 1 commit into from
Dec 22, 2023

Conversation

Sbozzolo
Copy link
Member

@Sbozzolo Sbozzolo commented Nov 28, 2023

This PR:

  • ensures that Github action workflows are killed when a new commit is pushed to the same branch/PR (following
    https://stackoverflow.com/a/67939898)

  • removes the need for the test environment from builkite jobs. The test environment is used only for one job. When the depot is cold, instantiating the test environment takes several minutes (when we have a good depot it takes 1-2 minutes). Given that instantiating the environment has to run before all the tests, this leads to unnecessary latency.

  • adds a new GitHub workflow 'lookahead'. The lookahead workflow is non-required to merge PRs and runs tests and one simulation (the one removed from the buildkite run) with julia 1.9 and julia 1.10 and the latest dependencies.

  • update checkout action to v4 (should remove warnings about deprecated version of node)

  • removed a codecov action (we run codecov as part of ci.yml)

@Sbozzolo Sbozzolo force-pushed the gb/clean_gha branch 9 times, most recently from afb51f0 to 47be52b Compare November 29, 2023 17:42
Copy link
Member

@charleskawczynski charleskawczynski left a comment

Choose a reason for hiding this comment

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

Overall looks fine to me. Can we keep the codecov.yml? It suppresses very noisy comments by GH.

This PR:

- ensures that Github action workflows are killed when a new commit is
pushed to the same branch/PR (following
https://stackoverflow.com/a/67939898)

- removes the need for the test environment from builkite jobs. The test
environment is used only for one job. When the depot is cold,
instantiating the test environment takes several minutes (when we have a
good depot it takes 1-2 minutes). Given that instantiating the
environment has to run before all the tests, this leads to unnecessary
latency.

- adds a new GitHub workflow 'lookahead'. The lookahead workflow is
non-required to merge PRs and runs tests and one simulation (the one
removed from the buildkite run) with julia 1.9 and julia 1.10 and the
latest dependencies.

- updates checkout actions to v4
@Sbozzolo Sbozzolo added this pull request to the merge queue Dec 22, 2023
Merged via the queue into main with commit fa5950d Dec 22, 2023
12 of 13 checks passed
@Sbozzolo Sbozzolo deleted the gb/clean_gha branch December 22, 2023 23:27
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