Skip to content
Open
Show file tree
Hide file tree
Changes from 3 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
2 changes: 1 addition & 1 deletion .github/actions/nf-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ runs:
NFT_WORKDIR: ${{ env.NFT_WORKDIR }}
run: |
nf-test test \
--profile=+${{ inputs.profile }} \
--profile=+${{ inputs.profile }}, stubRun \
$(if [ -n "${{ inputs.tags }}" ]; then echo "--tag ${{ inputs.tags }}"; fi) \
--ci \
--changed-since HEAD^ \
Expand Down
1 change: 0 additions & 1 deletion conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,3 @@ includeConfig './modules/tractometry.config'
includeConfig './modules/harmonization.config'
includeConfig './modules/output_orig_space.config'
includeConfig './modules/output_template_space.config'
includeConfig './modules/stubrun.config'
3 changes: 3 additions & 0 deletions conf/reproducible.config
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@
*/

process {
withName: '.*' {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

What is this for? Some tasks will probably fail with a single CPU.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

It's also not specific. Following docs, it falls off behind all other selectors. Report if it's cornering use-cases correctly. From my gist, this gets applied if no other config gets loaded

cpus = 1
}
}
3 changes: 3 additions & 0 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,9 @@ profiles {
skip_preproc {
includeConfig 'conf/skip_preproc.config'
}
stubRun {
includeConfig 'conf/modules/stubrun.config'
}
test { includeConfig 'conf/test.config' }
test_full { includeConfig 'conf/test_full.config' }
}
Expand Down
Loading