Skip to content

Commit cca6a2c

Browse files
author
GSD Planner
committed
ci: add Python 3.12 syntax check workflow
Creates CI badge on main branch for portfolio Level A standard. Uses py_compile + import check (no test suite exists — stdlib only). Satisfies CIAP-03
1 parent b5bf5db commit cca6a2c

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
lint:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-python@v5
15+
with:
16+
python-version: "3.12"
17+
- name: Syntax check
18+
run: python -m py_compile agent/poll_once.py
19+
- name: Import check
20+
run: python -c "import agent.poll_once"

0 commit comments

Comments
 (0)