-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (26 loc) · 891 Bytes
/
pr-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
on:
- pull_request
jobs:
python-deps:
uses: nathandines/calibre-template-functions/.github/workflows/run_in_pyenv.yml@main
linter-mypy:
needs: [python-deps]
uses: nathandines/calibre-template-functions/.github/workflows/run_in_pyenv.yml@main
with:
run_command: poetry run mypy .
linter-ruff:
needs: [python-deps]
uses: nathandines/calibre-template-functions/.github/workflows/run_in_pyenv.yml@main
with:
run_command: poetry run ruff check --output-format=github .
formatter-ruff:
needs: [python-deps]
uses: nathandines/calibre-template-functions/.github/workflows/run_in_pyenv.yml@main
with:
run_command: poetry run ruff format --check .
tests-pytest:
needs: [python-deps]
uses: nathandines/calibre-template-functions/.github/workflows/run_in_pyenv.yml@main
with:
run_command: poetry run pytest -v