Init test pipeline - #5
Merged
Coolgenome merged 36 commits intoMar 23, 2026
Merged
Conversation
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
init test workflow
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
add tests, improve test data creation, improve helpers
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.
This pull request introduces automated testing and container build workflows, refactors the Docker image for improved reproducibility and efficiency, and adds comprehensive test infrastructure for Nextflow modules. The main themes are CI/CD automation, Dockerfile improvements, and Nextflow test support.
CI/CD Automation
.github/workflows/build-push-container.ymlto automate building and pushing the Docker image to GitHub Container Registry when relevant files change..github/workflows/test.ymlto run automated tests on pull requests tomain, including setup for Java, Nextflow, and nf-test.Dockerfile Improvements
docker/scratch-annotation.Dockerfileto use a consistent CRAN repository, consolidate system dependencies (including Python, JAGS, HDF5, GSL), streamline R/Bioconductor package installation, and optimize Python environment setup (including CPU-only torch). Removed redundant installs and cleaned up cache handling. [1] [2]Nextflow Test Infrastructure
nf-test.configandtests/nextflow.configto configure nf-test and container usage for Nextflow module testing. [1] [2]tests/data/create_data.nf) and R script template (tests/data/templates/make-test-seurat.r) for creating Seurat objects needed in tests. [1] [2]tests/modules/local/azimuth/main.nf.test,tests/modules/local/sctype/major/main.nf.test,tests/modules/local/sctype/state/main.nf.test). [1] [2] [3]