-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (41 loc) · 1.39 KB
/
main.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: "main"
on: ["push", "workflow_dispatch"]
jobs:
# * ------------------------------------------------------------------------------ * #
# * Changes below may be lost in significant template updates.
pyright:
runs-on: "ubuntu-latest"
steps:
- uses: "blakeNaccarato/[email protected]"
with:
python-version: "3.11"
- run: ".tools/scripts/Invoke-Pyright.ps1"
shell: "pwsh"
ruff:
runs-on: "ubuntu-latest"
steps:
- uses: "blakeNaccarato/[email protected]"
with:
python-version: "3.11"
- run: "ruff --no-fix --output-format github ."
pytest:
runs-on: "ubuntu-latest"
steps:
- uses: "blakeNaccarato/[email protected]"
with:
python-version: "3.11"
- run: "pytest --cov"
- uses: "codecov/[email protected]"
bump_project:
needs: ["pyright", "ruff", "pytest"]
runs-on: "ubuntu-latest"
steps:
- uses: "blakeNaccarato/[email protected]"
with:
python-version: "3.11"
install-project: false
- uses: "stefanzweifel/[email protected]"
with:
commit_message: "Update project."
# * ------------------------------------------------------------------------------ * #
# * Changes below should persist in significant template updates.