Skip to content

Commit 1dfdc1f

Browse files
use 4 cores
1 parent 1d4c794 commit 1dfdc1f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ on:
55
branches:
66
- main
77
pull_request:
8-
workflow_dispatch:
9-
8+
workflow_dispatch:
9+
1010

1111
concurrency:
1212
# Cancel concurrent flows
@@ -64,7 +64,7 @@ jobs:
6464
snakefile: "workflow/Snakefile"
6565
args: "--cores 1 --sdm conda --conda-cleanup-pkgs cache resources/reference/genome.fasta"
6666
stagein: |
67-
pip install snakemake-storage-plugin-zenodo
67+
pip install snakemake-storage-plugin-zenodo
6868
pip install snakemake-storage-plugin-http
6969
7070
- name: Download truthsets
@@ -74,7 +74,7 @@ jobs:
7474
snakefile: "workflow/Snakefile"
7575
args: "--sdm conda --cores 1 --conda-cleanup-pkgs cache --until benchmark_get_truth"
7676
stagein: |
77-
pip install snakemake-storage-plugin-zenodo
77+
pip install snakemake-storage-plugin-zenodo
7878
pip install snakemake-storage-plugin-http
7979
8080
# This step is necessary (after downloading the truthsets above) to ensure
@@ -88,7 +88,7 @@ jobs:
8888
snakefile: "workflow/Snakefile"
8989
args: "--cores 1 --sdm conda --touch resources/regions/*/test-regions.cov-*.bed"
9090
stagein: |
91-
pip install snakemake-storage-plugin-zenodo
91+
pip install snakemake-storage-plugin-zenodo
9292
pip install snakemake-storage-plugin-http
9393
9494
- name: Run analysis
@@ -97,9 +97,9 @@ jobs:
9797
directory: "."
9898
snakefile: "workflow/Snakefile"
9999
args: >
100-
--cores 2 --sdm conda --conda-cleanup-pkgs cache --rerun-triggers mtime --all-temp
100+
--cores 4 --sdm conda --conda-cleanup-pkgs cache --rerun-triggers mtime --all-temp
101101
stagein: |
102-
pip install snakemake-storage-plugin-zenodo
102+
pip install snakemake-storage-plugin-zenodo
103103
pip install snakemake-storage-plugin-http
104104
105105
- name: Create report
@@ -109,7 +109,7 @@ jobs:
109109
snakefile: "workflow/Snakefile"
110110
args: "--report report.zip"
111111
stagein: |
112-
pip install snakemake-storage-plugin-zenodo
112+
pip install snakemake-storage-plugin-zenodo
113113
pip install snakemake-storage-plugin-http
114114
115115
- name: Upload report as artifact

0 commit comments

Comments
 (0)