This repository contains the specification of the Nextflow schema.
The parameters_meta_schema.json
file describes the structure of the nextflow_schema.json
file.
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 install
To run Prettier on all files, run the following command:
pre-commit run --all-files
This is done automatically when committing.
The meta-schema can be tested against a set of test schemas located in the test_schemas
directory using docker and the validate.sh
script.
./validate.sh
It is automatically tested in GitHub Actions via the test-meta-schema.yml
workflow.