ci(nextflow): nf-test infrastructure and GitHub Actions workflow#110
Open
FIrgolitsch wants to merge 1 commit into
Open
ci(nextflow): nf-test infrastructure and GitHub Actions workflow#110FIrgolitsch wants to merge 1 commit into
FIrgolitsch wants to merge 1 commit into
Conversation
This was referenced Apr 28, 2026
9380c58 to
b20cebc
Compare
954feb5 to
b4c029d
Compare
This was referenced Apr 30, 2026
d86f321 to
2063ff7
Compare
FIrgolitsch
added a commit
that referenced
this pull request
Apr 30, 2026
b4c029d to
9d114d2
Compare
2063ff7 to
c737d27
Compare
FIrgolitsch
added a commit
that referenced
this pull request
Apr 30, 2026
9d114d2 to
39533a6
Compare
FIrgolitsch
added a commit
that referenced
this pull request
Apr 30, 2026
c737d27 to
bed6f69
Compare
39533a6 to
0601c1e
Compare
bed6f69 to
9737d06
Compare
0601c1e to
1357c70
Compare
This was referenced May 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR #110 — Nextflow CI: nf-test infrastructure + workflow streamline
Adds end-to-end testing for Nextflow pipelines using nf-test (all processes invoked in stub mode so tests run without real imaging data) and streamlines the workflow files to share configuration between pipelines.
Streamline refactor (one commit)
refactor(workflows): streamline configs, extract cpu_limits.config and Helpers.groovyworkflows/shared/cpu_limits.config— single source of truth forenable_cpu_limits/max_cpus/reserved_cpus/processesand thebeforeScriptthread-cap closure, included by both pipelinesworkflows/reconst_3d/lib/Helpers.groovy— moves all the helper functions out ofsoct_3d_reconst.nf(303 lines extracted), auto-loaded by Nextflow via thelib/conventionpublishDircalls and standardises on${params.X}interpolationnextflow.configso the file reads top-down: params → process config → profilesCI (one squashed commit)
ci(nextflow): make CI green — pin nf-test 0.9.5, fix .gitignore for lib/ and zarr stubs, filter lint false-positives, cap test processes.github/workflows/nextflow-ci.yml: triggers onworkflows/**and.github/workflows/nextflow-ci.ymlchanges (main,dev); pinned tonf-test 0.9.5(latest broke compilation by not auto-loadinglib/); ANSI-strip + awk filter on lint output to drop the 29 knownHelpers.X(...)false-positives thatnextflow lintreports because it doesn't load Groovy classes fromlib/.gitignore: re-include rules forworkflows/**/lib/**(was caught by the Pythonlib/ignore —Helpers.groovywas never pushed) and for*.ome.zarrdirectories undertests/data/(was caught by the*.zarrignore — stub.gitkeepplaceholders were never pushed)nf-test.config: root nf-test configuration;tests/nextflow.config: shared test configpreproc_rawtiles.nfandsoct_3d_reconst.nfTests
workflows/preproc/tests/preproc_rawtiles.nf.test— stub-run preproc pipeline (minimal tile inputs inworkflows/preproc/tests/data/session_01/...)workflows/reconst_3d/tests/soct_3d_reconst.nf.test— stub-run reconst pipeline (minimalshifts_xy.csvandmosaic_grid_z*.ome.zarrplaceholders);processes = 2cap on the optional-branch test so it fits 4-CPU GitHub-hosted runners