This repository was archived by the owner on Jul 3, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ workflow_dispatch :
5+ pull_request :
6+ push :
7+ branches :
8+ - main
9+
10+ concurrency :
11+ group : ci-${{ github.workflow }}-${{ github.ref }}
12+ cancel-in-progress : true
13+
14+ jobs :
15+ quality :
16+ name : Code Quality (Ruff)
17+ runs-on : ubuntu-latest
18+
19+ steps :
20+ - name : Checkout
21+ uses : actions/checkout@v4
22+
23+ - name : Set up Python
24+ uses : actions/setup-python@v5
25+ with :
26+ python-version : " 3.11"
27+ cache : " pip"
28+
29+ - name : Install dependencies
30+ run : |
31+ python -m pip install --upgrade pip
32+ python -m pip install -e .[dev]
33+
34+ - name : Ruff lint
35+ run : ruff check .
36+
37+ - name : Ruff format check
38+ run : ruff format --check .
39+
40+ tests :
41+ name : Tests (Python ${{ matrix.python-version }})
42+ runs-on : ubuntu-latest
43+ strategy :
44+ fail-fast : false
45+ matrix :
46+ python-version : ["3.11", "3.12"]
47+
48+ steps :
49+ - name : Checkout
50+ uses : actions/checkout@v4
51+
52+ - name : Set up Python
53+ uses : actions/setup-python@v5
54+ with :
55+ python-version : ${{ matrix.python-version }}
56+ cache : " pip"
57+
58+ - name : Install dependencies
59+ run : |
60+ python -m pip install --upgrade pip
61+ python -m pip install -e .[dev]
62+
63+ - name : Run unit tests
64+ run : python -m unittest discover -s tests -v
You can’t perform that action at this time.
0 commit comments