This repository contains the schemas used by Nextflow.
The following schemas are currently defined:
pipeline-input: Schema for pipeline input specsplugin: Schema for plugin specs
Each folder contains the schema (schema.json) and a tests folder with test cases.
We use Prettier to format all files in this repository. We use pre-commit to run Prettier on all files before committing.
To install the pre-commit hooks, run the following command:
pre-commit installTo run Prettier on all files, run the following command:
pre-commit run --all-filesThis is done automatically when committing.
Schemas can be tested against their test cases using Docker and the validate-docker.sh script.
./validate-docker.shIt is automatically tested in GitHub Actions via the test.yml workflow.