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

Generate base packages rather than copying them in each test #254

Merged
merged 1 commit into from
Feb 3, 2022

Conversation

NathanReb
Copy link
Contributor

This removes minimal-repo and all of its copies and add an executable, called from the cram test directly, that generates it instead.

@NathanReb NathanReb added the no changelog Add this label to PRs without user facing changes to disable CI changelog checks label Feb 3, 2022
Signed-off-by: Nathan Rebours <nathan.p.rebours@gmail.com>
Copy link
Member

@Leonidas-from-XIV Leonidas-from-XIV left a comment

Choose a reason for hiding this comment

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

I was wondering whether there isn't a better solution of not inlining the data into the executable and copying the files instead. But I guess that could be difficult because one would still require to set up a dependency on the folder containing the repos to make dune copy the opam repo into the _build folder.

So I think this should be fine.

@NathanReb NathanReb merged commit 5622a61 into main Feb 3, 2022
@Leonidas-from-XIV Leonidas-from-XIV deleted the improve-bin-tests branch February 3, 2022 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no changelog Add this label to PRs without user facing changes to disable CI changelog checks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants