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

More complete CI #806

Merged
merged 50 commits into from
Nov 4, 2022
Merged

More complete CI #806

merged 50 commits into from
Nov 4, 2022

Conversation

maxulysse
Copy link
Member

Following @emiller88 on nf-core/rnaseq#883

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 Nov 2, 2022

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 93f4db2

+| ✅ 152 tests passed       |+
#| ❔   7 tests were ignored |#
!| ❗   1 tests had warnings |!

❗ Test warnings:

  • pipeline_todos - TODO string in methods_description_template.yml: #Update the HTML below to your prefered methods description, e.g. add publication citation for this pipeline

❔ Tests ignored:

  • files_exist - File is ignored: conf/modules.config
  • files_exist - File is ignored: conf/test.config
  • files_exist - File is ignored: conf/test_full.config
  • files_unchanged - File ignored due to lint config: assets/nf-core-sarek_logo_light.png
  • files_unchanged - File ignored due to lint config: docs/images/nf-core-sarek_logo_light.png
  • files_unchanged - File ignored due to lint config: docs/images/nf-core-sarek_logo_dark.png
  • files_unchanged - File ignored due to lint config: lib/NfcoreTemplate.groovy

✅ Tests passed:

Run details

  • nf-core/tools version 2.6
  • Run at 2022-11-04 16:44:17

@edmundmiller edmundmiller self-requested a review November 3, 2022 15:37
@maxulysse maxulysse marked this pull request as ready for review November 3, 2022 15:43
@maxulysse
Copy link
Member Author

Launching all tests with singularity and conda and will add exclude in the GHA workflow to remove the ones that don't work (thinking mainly about conda + annotation)

Copy link
Contributor

@edmundmiller edmundmiller left a comment

Choose a reason for hiding this comment

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

Awesome work and a massive effort!

Only thought is you might consider splitting it into a workflows directory or something to split it apart from subworkflows and modules for other local tests in the future, but that can be addressed when we get there.

Also, you might consider not running singularity and conda on every commit to a PR as well, there are a lot of tests here. So not only taking up a ton of runners and energy, but you might hit the matrix limit.

.github/workflows/pytest-workflow.yml Outdated Show resolved Hide resolved
@@ -0,0 +1,158 @@
- name: Run variant calling on somatic samples with cnvkit
Copy link
Contributor

Choose a reason for hiding this comment

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

Might consider splitting these into their own individual files tests/workflows/cnvkit/test_variantcalling_somatic.yml or something for readability, these are going to get quite long.

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't think there will be much more tests for cnvkit actually, but I'll think about that.
Thanks

@maxulysse
Copy link
Member Author

Awesome work and a massive effort!

Only thought is you might consider splitting it into a workflows directory or something to split it apart from subworkflows and modules for other local tests in the future, but that can be addressed when we get there.

Also, you might consider not running singularity and conda on every commit to a PR as well, there are a lot of tests here. So not only taking up a ton of runners and energy, but you might hit the matrix limit.

Was thinking more not to run the modules or subworkflows tests as I'm assuming we'll run that in nf-core/modules.
Maybe just for the local ones, but will need to figure this out....

@edmundmiller
Copy link
Contributor

I think those will come with nf-test. It's a lot speedier to test with than pytest, so testing your local modules and subworkflows is a lot easier.

@edmundmiller
Copy link
Contributor

BTW, sorry for figuring this out just as you set this up 🙈 https://github.com/nf-core/methylseq/blob/dev/.github/workflows/ci.yml

Copy link
Contributor

@FriederikeHanssen FriederikeHanssen left a comment

Choose a reason for hiding this comment

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

Love the splitting of the modules.config

@maxulysse maxulysse merged commit 40050f7 into nf-core:dev Nov 4, 2022
@maxulysse maxulysse deleted the dev_more_complete_CI branch November 4, 2022 18:55
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