Skip to content

Commit

Permalink
Update test_action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wxicu authored Feb 7, 2024
1 parent f62de8d commit 090ce07
Showing 1 changed file with 27 additions and 3 deletions.
30 changes: 27 additions & 3 deletions .github/workflows/test_action.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: hadge test workflow
on: push
jobs:
test:
name: Run pipeline with test data
test_genetic:
name: Run pipeline in genetic mode with test data
runs-on: ubuntu-latest
steps:
- name: Check out pipeline code
Expand All @@ -24,4 +24,28 @@ jobs:
run: bash ${GITHUB_WORKSPACE}/test_data/download_data.sh
- name: Run pipeline with test data
run: |
nextflow run ${GITHUB_WORKSPACE} -profile test,conda --souporcell False --generate_anndata False
nextflow run ${GITHUB_WORKSPACE} -profile test,conda --mode genetic --souporcell False --generate_anndata False
test_hashing:
name: Run pipeline in hashing mode with test data
runs-on: ubuntu-latest
steps:
- name: Check out pipeline code
uses: actions/checkout@v3
- name: Setup conda
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
miniconda-version: "latest"
channels: conda-forge, bioconda
- name: Install Nextflow
uses: nf-core/setup-nextflow@v1
- name: Set up Python to install gdown
uses: actions/setup-python@v5
with:
python-version: "3.9"
cache: "pip"
- 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 --mode hashing --generate_anndata False

0 comments on commit 090ce07

Please sign in to comment.