Skip to content

Commit

Permalink
Update to stable github action
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixMoelder committed Aug 7, 2023
1 parent 1bd7191 commit f7b121a
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Lint workflow
uses: snakemake/snakemake-github-action@v1.24.0
uses: snakemake/snakemake-github-action@v1.25.0
with:
directory: .
snakefile: workflow/Snakefile
Expand All @@ -45,69 +45,75 @@ jobs:
- uses: actions/checkout@v2

- name: Test workflow (local FASTQs)
uses: snakemake/snakemake-github-action@feat/disk_space_on_error
uses: snakemake/snakemake-github-action@v1
with:
directory: .test
snakefile: workflow/Snakefile
args: "--configfile .test/config-simple/config.yaml --use-conda --show-failed-logs -j 10 --conda-cleanup-pkgs cache"
show-disk-usage-on-error: true

- name: Test testcase generation
uses: snakemake/snakemake-github-action@feat/disk_space_on_error
uses: snakemake/snakemake-github-action@v1
with:
directory: .test
snakefile: workflow/Snakefile
args: "results/testcases/a/freebayes/IX:314200 --configfile .test/config-simple/config.yaml --use-conda --show-failed-logs -j 10 --conda-cleanup-pkgs cache"
show-disk-usage-on-error: true

- name: Test report
uses: snakemake/snakemake-github-action@feat/disk_space_on_error
uses: snakemake/snakemake-github-action@v1
with:
directory: .test
snakefile: workflow/Snakefile
args: "--configfile .test/config-simple/config.yaml --report report.zip"

show-disk-usage-on-error: true

- name: Test workflow (local FASTQs, target regions)
uses: snakemake/snakemake-github-action@feat/disk_space_on_error
uses: snakemake/snakemake-github-action@v1
with:
directory: .test
snakefile: workflow/Snakefile
args: "--configfile .test/config-target-regions/config.yaml --use-conda --show-failed-logs -j 10 --conda-cleanup-pkgs cache"
stagein: |
rm -rf .test/results
show-disk-usage-on-error: true

- name: Test workflow (local FASTQs, multiple target regions BED files)
uses: snakemake/snakemake-github-action@feat/disk_space_on_error
uses: snakemake/snakemake-github-action@v1
with:
directory: .test
snakefile: workflow/Snakefile
args: "--configfile .test/config-target-regions/config_multiple_beds.yaml --use-conda --show-failed-logs -j 10 --conda-cleanup-pkgs cache"
stagein: |
rm -rf .test/results
show-disk-usage-on-error: true

- name: Test workflow (local FASTQs, no candidate filtering)
uses: snakemake/snakemake-github-action@feat/disk_space_on_error
uses: snakemake/snakemake-github-action@v1
with:
directory: .test
snakefile: workflow/Snakefile
args: "--configfile .test/config-no-candidate-filtering/config.yaml --dryrun --use-conda --show-failed-logs -j 10 --conda-cleanup-pkgs cache"
stagein: |
rm -rf .test/results
show-disk-usage-on-error: true

- name: Test workflow (local FASTQs primer)
uses: snakemake/snakemake-github-action@feat/disk_space_on_error
uses: snakemake/snakemake-github-action@v1
with:
directory: .test
snakefile: workflow/Snakefile
args: "--configfile .test/config_primers/config.yaml --use-conda --show-failed-logs -j 10 --conda-cleanup-pkgs cache"
stagein: |
rm -rf .test/results
show-disk-usage-on-error: true

- name: Test workflow (SRA FASTQs)
uses: snakemake/snakemake-github-action@feat/disk_space_on_error
uses: snakemake/snakemake-github-action@v1
with:
directory: .test
snakefile: workflow/Snakefile
args: "--configfile .test/config-sra/config.yaml --show-failed-logs --use-conda -n -j 10 --conda-cleanup-pkgs cache"
stagein: |
rm -rf .test/results
show-disk-usage-on-error: true

0 comments on commit f7b121a

Please sign in to comment.