Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Lint workflow
uses: snakemake/snakemake-github-action@v1.24.0
uses: ezherman/snakemake-github-action@5027c0e706ada924ab91e0501bd92185fc98de3c
with:
directory: .
snakefile: workflow/Snakefile
Expand All @@ -40,15 +40,15 @@ jobs:
- uses: actions/checkout@v2

- name: Test workflow
uses: snakemake/snakemake-github-action@v1.24.0
uses: ezherman/snakemake-github-action@5027c0e706ada924ab91e0501bd92185fc98de3c
with:
directory: .test
snakefile: workflow/Snakefile
args: "--use-conda --show-failed-logs --cores 3 --conda-cleanup-pkgs cache --all-temp"
args: "--use-conda --show-failed-logs --cores 1 --conda-cleanup-pkgs cache --all-temp"

- name: Test report
uses: snakemake/snakemake-github-action@v1.24.0
uses: ezherman/snakemake-github-action@5027c0e706ada924ab91e0501bd92185fc98de3c
with:
directory: .test
snakefile: workflow/Snakefile
args: "--report report.zip"
args: "--report report.zip"
16 changes: 10 additions & 6 deletions workflow/Snakefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# Main entrypoint of the workflow.
# Please follow the best practices:
# Main entrypoint of the workflow.
# Please follow the best practices:
# https://snakemake.readthedocs.io/en/stable/snakefiles/best_practices.html,
# in particular regarding the standardized folder structure mentioned there.
# in particular regarding the standardized folder structure mentioned there.


rule touch:
output: "file.txt"
conda: "../envs/empty.yaml"
log: "logs/touch.log"
output:
"file.txt",
conda:
"envs/empty.yaml"
log:
"logs/touch.log",
shell:
"touch {output}"