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

fix(CI): add spark profile to all spark tests #1463

Merged
merged 3 commits into from
Apr 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ Balgattjåhkkå is the other top peak (over 2k m) in the Pårte massif, the othe
- [#1420](https://github.com/nf-core/sarek/pull/1420) - Make `-a` a default argument for `bcftools` concat
- [#1422](https://github.com/nf-core/sarek/pull/1422) - Fix `Cannot serialize context map` warning
- [#1462](https://github.com/nf-core/sarek/pull/1462) - Fix ascat input channels
- [#1463](https://github.com/nf-core/sarek/pull/1463) - Add `spark` profile to all gatk4spark tests

### Removed

Expand Down
4 changes: 2 additions & 2 deletions tests/test_gatk4spark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
- path: results/preprocessing/mapped/
should_exist: false
- name: Run default pipeline with gatk4spark and skipping all QC steps
command: nextflow run main.nf -profile test_cache,use_gatk_spark --skip_tools fastqc,markduplicates_report,mosdepth,multiqc,samtools --outdir results
command: nextflow run main.nf -profile test_cache,use_gatk_spark,spark --skip_tools fastqc,markduplicates_report,mosdepth,multiqc,samtools --outdir results
Copy link
Contributor

Choose a reason for hiding this comment

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

I missed a bunch of discussion around this. What is tl;dr that we have a double spark profile?

Copy link
Member Author

Choose a reason for hiding this comment

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

So 1 for the test, and one for the docker.userEmulation that restore proper usage

Copy link
Contributor

Choose a reason for hiding this comment

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

ah makes sense, so users should set spark when runnin it now?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, I think that was the cleanest option I could think of. And if people need, they can use a custom config easily

Copy link
Contributor

Choose a reason for hiding this comment

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

makes sense :)

tags:
- gatk4spark
- preprocessing
Expand Down Expand Up @@ -82,7 +82,7 @@
- path: results/reports/samtools
should_exist: false
- name: Run save_output_as_bam with gatk4 spark
command: nextflow run main.nf -profile test_cache,use_gatk_spark --save_output_as_bam --outdir results
command: nextflow run main.nf -profile test_cache,use_gatk_spark,spark --save_output_as_bam --outdir results
tags:
- gatk4spark
- preprocessing
Expand Down
Loading