Skip to content

Commit

Permalink
add test action
Browse files Browse the repository at this point in the history
  • Loading branch information
wxicu committed Nov 7, 2023
1 parent 4dcb1ed commit 33f1bb9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/test_action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: hadge test workflow
on:
push
pull_request
release:
types: [published]
jobs:
test:
name: Run pipeline with test data
runs-on: ubuntu-latest
steps:
- name: Check out pipeline code
uses: actions/checkout@v3
- name: Install Nextflow
uses: nf-core/setup-nextflow@v1
- name: Install singularity to run Souporcell
uses: eWaterCycle/setup-singularity@v7
- name: Download test dataset
run: bash ${GITHUB_WORKSPACE}/test_data/download_data.sh
- name: Run pipeline with test data
run: |
nextflow run ${GITHUB_WORKSPACE} -profile test,conda_singularity

0 comments on commit 33f1bb9

Please sign in to comment.