Skip to content

Commit

Permalink
Snakemake action only available for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
csoneson committed Mar 2, 2024
1 parent c95414c commit 8c6c80f
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/snakemake-run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
os: [macos-latest, ubuntu-latest]
include:
- os: macos-latest
rversion: '4.2'
rversion: '4.3'
- os: ubuntu-latest
rversion: '4.2'
rversion: '4.3'
steps:
- name: Check out repository
uses: actions/checkout@v2
Expand Down Expand Up @@ -68,7 +68,18 @@ jobs:
echo 'options(Ncpus = 8)' > $HOME/.Rprofile
echo 'Sys.setenv(BIOCONDUCTOR_USE_CONTAINER_REPOSITORY=TRUE)' >> $HOME/.Rprofile
- name: Run Snakemake
- name: Install Snakemake (macOS)
if: runner.os == 'macOS'
run: |
conda install -c bioconda snakemake
- name: Run Snakemake (macOS)
if: runner.os == 'macOS'
run: |
snakemake --use-conda --cores 4
- name: Run Snakemake (Linux)
if: runner.os == 'Linux'
env:
BIOCONDUCTOR_USE_CONTAINER_REPOSITORY: true
uses: snakemake/snakemake-github-action@v1
Expand Down

0 comments on commit 8c6c80f

Please sign in to comment.