diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index d38cd73..c43439f 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -5,6 +5,9 @@ on: [push, pull_request] jobs: test: runs-on: ubuntu-latest + strategy: + matrix: + shard: [1, 2, 3, 4] steps: - name: Checkout @@ -18,13 +21,13 @@ jobs: java-version: '17' distribution: 'adopt' - - name: Set up Apptainer + - name: Set up Apptainer 1.3.0 uses: eWaterCycle/setup-apptainer@v2 with: apptainer-version: 1.3.0 - - name: Setup Nextflow latest-edge + - name: Setup Nextflow 24.10.1 uses: nf-core/setup-nextflow@v1 with: version: "24.10.1" @@ -34,5 +37,5 @@ jobs: wget -qO- https://get.nf-test.com | bash sudo mv nf-test /usr/local/bin/ - - name: Run Tests - run: nf-test test --ci \ No newline at end of file + - name: Run Tests (Shard ${{ matrix.shard }}/${{ strategy.job-total }}) + run: nf-test test --ci --shard ${{ matrix.shard }}/${{ strategy.job-total }} \ No newline at end of file diff --git a/tests/modules/hostRemoval/hostRemoval.nf.test b/tests/modules/hostRemoval/hostRemoval.nf.test index 04160d3..c929856 100644 --- a/tests/modules/hostRemoval/hostRemoval.nf.test +++ b/tests/modules/hostRemoval/hostRemoval.nf.test @@ -28,9 +28,6 @@ nextflow_workflow { } then { - print(workflow.out) - print(path(workflow.out.paired.get(0)[0]).readLines()[0]) - print(path(workflow.out.paired.get(0)[0]).readLines().subList(0,5)) assertAll( {assert workflow.success}, {assert snapshot(workflow.out).match()}