diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..637938c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +name: nf-core CI +# This workflow runs the pipeline with the minimal test dataset to check that it completes without any syntax errors +on: + push: + branches: + - master + pull_request: + +jobs: + test: + name: Run pipeline with test data + runs-on: ubuntu-latest + strategy: + matrix: + NXF_VER: + - "23.04.0" + - "latest-everything" + + steps: + - name: Check out pipeline code + uses: actions/checkout@v4 + + - name: Install Nextflow + uses: nf-core/setup-nextflow@v1 + with: + version: "${{ matrix.NXF_VER }}" + + - name: Run pipeline with test data + run: cd example && ./run.sh \ No newline at end of file diff --git a/example/run.sh b/example/run.sh index 4b38b28..73077ac 100755 --- a/example/run.sh +++ b/example/run.sh @@ -1,3 +1,3 @@ #!/bin/bash -nextflow run .. -resume -profile apptainer \ No newline at end of file +nextflow run .. -resume -profile docker \ No newline at end of file