From 504b3a8f406e6348518d9be978fc8dd7847c98a6 Mon Sep 17 00:00:00 2001 From: Usman Rashid Date: Mon, 30 Sep 2024 11:17:37 +1300 Subject: [PATCH] Added multiple tests to ci --- .github/workflows/ci.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5a5f26d..3c06428 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,6 +24,13 @@ jobs: matrix: NXF_VER: - "23.04.0" + TEST_PARAMS: + - minimal + - short + - nonmasked + - stub + OPTION_STUB: + - "-stub" steps: - name: Check out pipeline code @@ -40,8 +47,9 @@ jobs: - name: Run pipeline with test data run: | nextflow run \ - main.nf \ + ${GITHUB_WORKSPACE} \ -profile docker \ - -stub \ - -params-file tests/stub/params.json \ + -params-file \ + ./tests/${{ matrix.TEST_PARAMS }}/params.json \ + ${{ matrix.OPTION_STUB }} \ --outdir ./results