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

Download data files after build in CI #634

Merged
merged 1 commit into from
Jun 26, 2024

Conversation

stephenswat
Copy link
Member

As it stands right now, we download all the data files before we ever even build the traccc project. This is a bit wasteful, as a failed build will render all that downloading useless. This commit moves the data downloading step to after the build step, and also makes it conditional on whether the tests will actually be run.

As it stands right now, we download all the data files before we ever
even build the traccc project. This is a bit wasteful, as a failed build
will render all that downloading useless. This commit moves the data
downloading step to after the build step, and also makes it conditional
on whether the tests will actually be run.
@stephenswat stephenswat added cicd Changes related to the CI system improvement Improve an existing feature labels Jun 26, 2024
@stephenswat
Copy link
Member Author

Note: this used to work fine when the data files were several megabytes; now they are gigabytes!

Copy link
Member

@krasznaa krasznaa left a comment

Choose a reason for hiding this comment

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

Sure.

Though, as long as we're doing this, does it make sense to have the download as a separate step from the "Test" step? It might be easier to just run the download script right before executing ctest. 🤔

@stephenswat
Copy link
Member Author

Sure.

Though, as long as we're doing this, does it make sense to have the download as a separate step from the "Test" step? It might be easier to just run the download script right before executing ctest. 🤔

Both work, I'd struggle to make any reasonable argument one way or the other.

@stephenswat stephenswat merged commit b3f0d86 into acts-project:main Jun 26, 2024
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cicd Changes related to the CI system improvement Improve an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants