-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (30 loc) · 977 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
28
29
30
31
---
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 .
cached: true
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 .
cached: true
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 .
cached: true
tests-pytest:
needs: [python-deps]
uses: nathandines/calibre-template-functions/.github/workflows/run_in_pyenv.yml@main
with:
run_command: poetry run pytest -v --cov=. .
cached: true