Commit 12d7cff
authored
ci: add GitHub Actions workflow for lint and smoke test (#309)
* ci: add GitHub Actions workflow for lint and smoke test
Add CI pipeline with two jobs:
- lint: ruff check with pyflakes rules (F) on v2/ directory, ignoring
F401 (unused imports) for now, excluding auto-generated grpcauto directory
- smoke-test: Python 3.9/3.11/3.13 matrix, verify module imports
Closes #305
Signed-off-by: cxhello <caixiaohuichn@gmail.com>
* ci: update Python matrix from 3.9 to 3.10+
Both branches use PEP 604 union type syntax (X | None) which requires
Python 3.10+. Update smoke-test matrix to ['3.10', '3.12', '3.13'].
Signed-off-by: cxhello <caixiaohuichn@gmail.com>
* ci: scope trigger branches to master only
Each branch maintains its own CI config with branch-specific triggers
to avoid cross-branch workflow interference.
Signed-off-by: cxhello <caixiaohuichn@gmail.com>
---------
Signed-off-by: cxhello <caixiaohuichn@gmail.com>1 parent 402f7ec commit 12d7cff
1 file changed
Lines changed: 39 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
0 commit comments