Skip to content

ci: add Python syntax and config validation - #1

Merged
Asa-Chiri merged 1 commit into
masterfrom
codex/python-syntax-config-ci-20261001
Oct 1, 2026
Merged

Asa-Chiri merged 1 commit into
masterfrom
codex/python-syntax-config-ci-20261001

Conversation

@Asa-Chiri

Copy link
Copy Markdown
Member

Adds a first, dependency-free Python syntax/config workflow on pushes, pull requests, and manual dispatch. It compiles all Git-tracked Python source bytes without importing or executing application code, fails if no Python sources are tracked, and documents the limited coverage in .github/CI.md.

No application JSON files are included.

Uses commit-pinned official checkout/setup-python actions, Python 3.12, a read-only token, disabled checkout credential persistence, and a five-minute job timeout. JSON parsing checks syntax (including rejection of NaN/Infinity), not schema or application behavior.

Validation: the exact workflow validation snippets passed locally with Python 3.12.11 for 1 tracked Python files and 0 JSON files; the staged diff passes git diff --check. Hosted CI is triggered by this draft PR.

This is not runtime testing. No application dependencies are installed; no application entrypoints, imports, test discovery, network APIs, authentication, installers, GUIs, model/data downloads, or browser downloads run. No runtime behavior is changed.

@Asa-Chiri
Asa-Chiri marked this pull request as ready for review October 1, 2026 23:46
@Asa-Chiri
Asa-Chiri merged commit 29fd0de into master Oct 1, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant