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

Cache test data on GHA #909

Merged
merged 20 commits into from
Jan 12, 2023
Merged

Cache test data on GHA #909

merged 20 commits into from
Jan 12, 2023

Conversation

maxulysse
Copy link
Member

PR checklist

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the pipeline conventions in the contribution docs- [ ] If necessary, also make a PR on the nf-core/sarek branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • Usage Documentation in docs/usage.md is updated.
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

@github-actions
Copy link

github-actions bot commented Jan 11, 2023

nf-core lint overall result: Passed ✅

Posted for pipeline commit 6337c08

+| ✅ 152 tests passed       |+
#| ❔   8 tests were ignored |#

❔ Tests ignored:

✅ Tests passed:

Run details

  • nf-core/tools version 2.7.2
  • Run at 2023-01-12 10:07:48

@maxulysse
Copy link
Member Author

Should be able to delete https://github.com/nf-core/test-datasets/blob/sarek3/tests/config/test_data.config and use the usual file from modules, which is more future proof, once and if nf-core/modules#2739 is merged

Copy link

@nvnieuwk nvnieuwk left a comment

Choose a reason for hiding this comment

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

Looks awesome! I'm not a CI expert though, so it may be better to wait for a second review

"type": "string",
"default": "https://raw.githubusercontent.com/nf-core/test-datasets/sarek3",
"description": "Base path / URL for data used in the test profiles",
"help_text": "Warning: The `-profile test` samplesheet file itself contains remote paths. Setting this parameter does not alter the contents of that file.",
Copy link
Member

Choose a reason for hiding this comment

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

Maybe a bit better description on why you might use this option? I know it's mostly for the CI, but still, users will see this.

Copy link
Member Author

Choose a reason for hiding this comment

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

It's an hidden params with a default value. I think it should be fine

Copy link
Member

@pinin4fjords pinin4fjords left a comment

Choose a reason for hiding this comment

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

Looks snazzy! FWIW I'd have reviewed quicker if there had a been a description ;-)

@maxulysse
Copy link
Member Author

Looks snazzy! FWIW I'd have reviewed quicker if there had a been a description ;-)

Good point. I'll pay more attention to that

@maxulysse maxulysse merged commit 9457e12 into nf-core:dev Jan 12, 2023
@maxulysse maxulysse deleted the cache_test_data branch January 12, 2023 12:04
@maxulysse maxulysse mentioned this pull request Jan 26, 2023
14 tasks
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.

3 participants