Skip to content

Commit

Permalink
CI using official Snakemake action
Browse files Browse the repository at this point in the history
  • Loading branch information
danilotat committed Sep 12, 2024
1 parent 2b94935 commit bd55682
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,10 @@ jobs:
Testing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
- name: Testing workflow
uses: snakemake/snakemake-github-action@v1.22.0
with:
python-version: 3.8
- name: Add conda to system path
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH
- name: Install dependencies
run: |
conda install -c conda-forge mamba
- name: Setup snakemake
run: |
mamba install -c conda-forge -c bioconda snakemake singularity sra-tools
- name: Run snakemake
run: |
snakemake --use-singularity --use-conda --cores 4
directory: .test
snakefile: .test/Snakefile
args: "--use-conda --use-singularity --show-failed-logs --cores 4 --conda-cleanup-pkgs cache"

0 comments on commit bd55682

Please sign in to comment.