-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
tdayris
committed
Jan 26, 2024
1 parent
4620f3b
commit c5e4794
Showing
3 changed files
with
68 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
|
||
name: Tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches_ignore: [] | ||
|
||
jobs: | ||
formatting: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout with submodules | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
fetch-depth: 0 | ||
- name: Formatting | ||
uses: github/super-linter@v5 | ||
env: | ||
VALIDATE_ALL_CODEBASE: false | ||
DEFAULT_BRANCH: main | ||
VALIDATE_SNAKEMAKE_SNAKEFMT: true | ||
linting: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Linting | ||
uses: snakemake/[email protected] | ||
with: | ||
directory: .test | ||
snakefile: workflow/Snakefile | ||
args: "--lint" | ||
|
||
run-workflow: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- linting | ||
- formatting | ||
steps: | ||
- name: Checkout repository with submodules | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
- name: Test workflow | ||
uses: snakemake/[email protected] | ||
with: | ||
directory: .test | ||
snakefile: workflow/Snakefile | ||
args: "--use-conda --use-singularity --show-failed-logs --cores 2 --conda-cleanup-pkgs cache" | ||
# - name: Test report | ||
# uses: snakemake/[email protected] | ||
# with: | ||
# directory: .test | ||
# snakefile: workflow/Snakefile | ||
# args: "--use-conda --use-singularity --cores 2 --report report.zip" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# 1.0.0 | ||
|
||
## Features: | ||
|
||
* Snakemake v8+ compatible | ||
* Snakemake-wrappers | ||
* Relies on fair_genome_indexer version 3.0.0 | ||
* Relies on fair_bowtie2_mapping version 3.0.1 | ||
* Deployable workflow with integration tests on Github |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters