Debian Codegraph @

.github/workflows/qa.yml

raw symbols SCIP
1 ---
2 name: QA
3
4 env:
5 CI_FORCE_COLORS_PRE_COMMIT: --color always
6
7 on: # yamllint disable-line rule:truthy
8 workflow_dispatch:
9
10 push:
11 tags:
12 - "!*"
13 branches:
14 - main
15 - "test-me-*"
16
17 pull_request:
18 branches:
19 - "**"
20
21 jobs:
22 build:
23 name: Run QA Tools
24 runs-on: ubuntu-latest
25 steps:
26 - uses: actions/checkout@v3
27
28 - name: Set up Python
29 uses: actions/setup-python@v4
30 with:
31 python-version: "3.12"
32
33 - name: Display Python version
34 run: python --version
35
36 - name: Upgrade pip
37 run: python -m pip install --upgrade pip
38
39 - name: Install pipx
40 run: python -m pip install --upgrade pipx
41
42 - name: Install tox via pipx
43 run: pipx install tox
44
45 - name: Run pre-commit via tox
46 run: tox -e pre-commit-run