Skip to content

ci(nextflow): nf-test infrastructure and GitHub Actions workflow#110

Open
FIrgolitsch wants to merge 1 commit intopr-n4-bias-fieldfrom
pr-ci-nextflow
Open

ci(nextflow): nf-test infrastructure and GitHub Actions workflow#110
FIrgolitsch wants to merge 1 commit intopr-n4-bias-fieldfrom
pr-ci-nextflow

Conversation

@FIrgolitsch
Copy link
Copy Markdown
Contributor

Adds end-to-end testing for Nextflow pipelines using nf-test, with all processes invoked in stub mode so tests run without real imaging data.

Stacked on #109. Base will be retargeted as upstream PRs merge.

CI

  • .github/workflows/nextflow-ci.yml: triggers on workflows/** changes (main, dev)
  • nf-test.config: root nf-test configuration
  • tests/nextflow.config: shared test config

Tests

  • workflows/preproc/tests/preproc_rawtiles.nf.test \u2014 stub-run preproc pipeline
  • workflows/preproc/tests/data/session_01/... \u2014 minimal tile inputs
  • workflows/reconst_3d/tests/soct_3d_reconst.nf.test \u2014 stub-run reconst pipeline
  • workflows/reconst_3d/tests/data/shifts_xy.csv \u2014 minimal shifts CSV

Pipelines

  • workflows/preproc/preproc_rawtiles.nf: adds stub: blocks to all processes

Adds end-to-end testing for Nextflow pipelines using nf-test, with all
processes invoked in stub mode so tests run without real imaging data.

CI:
- .github/workflows/nextflow-ci.yml: triggers on workflows/** changes
- nf-test.config: root nf-test configuration
- tests/nextflow.config: shared test config

Tests:
- workflows/preproc/tests/preproc_rawtiles.nf.test: stub-run preproc
- workflows/preproc/tests/data/session_01/...: minimal tile inputs
- workflows/reconst_3d/tests/soct_3d_reconst.nf.test: stub-run reconst
- workflows/reconst_3d/tests/data/shifts_xy.csv: minimal shifts CSV

Pipelines:
- workflows/preproc/preproc_rawtiles.nf: add stub blocks to all processes
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.

1 participant