actions_ci
PipelineLint.actions_ci()
Checks that the GitHub Actions pipeline CI (Continuous Integration) workflow is valid.
The .github/workflows/ci.yml GitHub Actions workflow runs the pipeline on a minimal test
dataset using -profile test to check that no breaking changes have been introduced.
Final result files are not checked, just that the pipeline exists successfully.
This lint test checks this GitHub Actions workflow file for the following:
-
Workflow must be triggered on the following events:
on: push: branches: - dev pull_request: release: types: [published] -
The minimum Nextflow version specified in the pipeline’s
nextflow.configmatches that defined bynxf_verin the test matrix:strategy: matrix: # Nextflow versions: check pipeline minimum and current latest nxf_ver: ["19.10.0", ""]NoteThese
matrixvariables run the test workflow twice, varying thenxf_vervariable each time. This is used in thenextflow runcommands to test the pipeline with both the latest available version of the pipeline ('') and the stated minimum required version.