Skip to content

Commit

Permalink
Fix GitHub action by enforcing Snakemake 7.32
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmig committed Jan 4, 2024
1 parent 70958c3 commit 0fa26ee
Showing 1 changed file with 21 additions and 11 deletions.
32 changes: 21 additions & 11 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,33 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Create environments
uses: snakemake/snakemake-github-action@v1
- name: Setup mamba
uses: conda-incubator/setup-miniconda@v3
with:
directory: ".test"
snakefile: "workflow/Snakefile"
args: "--configfile config/config.yaml .test/targets.yaml --cores 1 --conda-create-envs-only --use-conda"

mamba-version: "*"
channels: conda-forge,bioconda,defaults
- name: Install Snakemake 7.32
run: |
mamba install snakemake=7.32 -y
- name: Create environments
run: |
snakemake --snakefile workflow/Snakefile --directory .test --configfile config/config.yaml .test/targets.yaml --conda-create-envs-only --use-conda
Dry_run:
needs: skip_duplicate
if: ${{ needs.skip_duplicate.outputs.should_skip != 'true' }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Dry run
uses: snakemake/snakemake-github-action@v1
- name: Setup mamba
uses: conda-incubator/setup-miniconda@v3
with:
directory: ".test"
snakefile: "workflow/Snakefile"
args: "--configfile config/config.yaml .test/targets.yaml --dry-run"
mamba-version: "*"
channels: conda-forge,bioconda,defaults
- name: Install Snakemake 7.32
run: |
mamba install snakemake=7.32 -y
- name: Dry run
run: |
snakemake --snakefile workflow/Snakefile --directory .test --configfile config/config.yaml .test/targets.yaml --dry-run

0 comments on commit 0fa26ee

Please sign in to comment.