Skip to content

Commit

Permalink
Enable linter snakemke in snakemkae CI - enforece snakemake qulaity (#35
Browse files Browse the repository at this point in the history
)

* enable linter snakemke

* remove main branch

* piush

* try otherwise

* add isntall

* remove superlint
  • Loading branch information
gordonkoehn authored Oct 25, 2024
1 parent 8058efd commit aa78bc9
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/test-snake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,6 @@ jobs:
with:
fetch-depth: 0

# Run Super-Linter only on Snakefile and .smk files
- name: Lint Snakefiles Only
uses: github/super-linter/slim@v5
env:
VALIDATE_SNAKEMAKE_SNAKEFMT: true
FILTER_REGEX_INCLUDE: '(^Snakefile$|.*\.smk$)' # Only include Snakefile and .smk files
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DISABLE_ERRORS: true # TODO: Enforce clean snakefiles in CI

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
Expand All @@ -50,6 +40,10 @@ jobs:
run: |
pip install -e .
pip install pytest
pip install snakefmt==0.10.2
- name: Snakemake Linting
run: |
snakefmt workflow/
- name: Snakemake Testing
run: |
Expand Down

0 comments on commit aa78bc9

Please sign in to comment.