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 be95677
Showing 1 changed file with 25 additions and 11 deletions.
36 changes: 25 additions & 11 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,37 @@ 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
auto-activate-base: true
activate-environment: ""
- name: Install Snakemake 7.32
run: |
pip install snakemake==7.32.4
- name: Create environments
run: |
snakemake --snakefile workflow/Snakefile --directory .test --configfile config/config.yaml .test/targets.yaml --conda-create-envs-only --use-conda -c1
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
auto-activate-base: true
activate-environment: ""
- name: Install Snakemake 7.32
run: |
pip install snakemake==7.32.4
- name: Dry run
run: |
snakemake --snakefile workflow/Snakefile --directory .test --configfile config/config.yaml .test/targets.yaml --dry-run

0 comments on commit be95677

Please sign in to comment.