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

Selectively update snapshots #262

Open
edmundmiller opened this issue Sep 30, 2024 · 0 comments
Open

Selectively update snapshots #262

edmundmiller opened this issue Sep 30, 2024 · 0 comments

Comments

@edmundmiller
Copy link
Contributor

edmundmiller commented Sep 30, 2024

Idea

Extend the current functionality to allow --update-snapshot versions so you can only update a specific snapshot named "versions".

Use case

We're working on implementing automated dependency bumping in nf-core/modules. Ideally we'd like to bump the versions in the environment.yml, and then bump the version snapshots with something like nf-test test --only-changed --update-snapshot versions and then run a seperate nf-test test --ci to make sure none of the expected outputs changed.

In the meantime, I think we should only snapshot the versions in the stub workflows, and then give them a tag "stub" and we can then only run the snapshot update in CI with --tag stub

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

No branches or pull requests

1 participant