From 87d85568c2d2f2a2ff5ef8faaec7439c83d03e51 Mon Sep 17 00:00:00 2001 From: Adam Dinan Date: Wed, 12 Jun 2024 21:15:30 +0100 Subject: [PATCH] Run test before pushing image --- .github/workflows/ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c96f112..0815827 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,6 +40,10 @@ jobs: chmod +x nextflow sudo mv nextflow /usr/local/bin/ + - name: Run pipeline with test data + run: | + nextflow run ${GITHUB_WORKSPACE} -profile test,docker --outdir ./results + - name: Login to Docker Hub uses: docker/login-action@v1 with: @@ -50,7 +54,4 @@ jobs: run: | docker build --platform linux/amd64 -t adamd3/bactseq:latest . docker push adamd3/bactseq:latest - - - name: Run pipeline with test data - run: | - nextflow run ${GITHUB_WORKSPACE} -profile test,docker --outdir ./results \ No newline at end of file + \ No newline at end of file