generated from snakemake-workflows/snakemake-workflow-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Delete .github/workflows/conventional-prs.yml * update test workflow based on scattr * limit to python 3.11, since 3.12 was failing tests * add dev dependencies with updated snakefmt (needed for github action) * formatting with updated snakefmt
- Loading branch information
Showing
6 changed files
with
131 additions
and
73 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,35 @@ | ||
--- | ||
name: Lint and test workflow | ||
on: | ||
push: | ||
branches: ['*', '!push-action/*'] | ||
pull_request: | ||
branches: ['*', '!push-action/*'] | ||
jobs: | ||
quality: | ||
name: Lint code | ||
if: github.event.pull_request.merged == false | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Setup Python environment | ||
uses: khanlab/actions/.github/actions/[email protected] | ||
with: | ||
python-version: '3.11' | ||
- name: snakemake lint | ||
run: poetry run snakemake --lint | ||
- name: snakefmt | ||
run: poetry run snakefmt --check workflow | ||
test: | ||
runs-on: ubuntu-latest | ||
needs: [quality] | ||
strategy: | ||
matrix: | ||
python-version: ['3.11'] | ||
steps: | ||
- name: Setup Python environments | ||
uses: khanlab/actions/.github/actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
install-library: true | ||
- name: Integration dry-run test | ||
run: poetry run snakemake -np |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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