Skip to content

Commit

Permalink
Run test before pushing image
Browse files Browse the repository at this point in the history
  • Loading branch information
adamd3 committed Jun 12, 2024
1 parent 9d697cb commit 87d8556
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

0 comments on commit 87d8556

Please sign in to comment.