Skip to content

Add Python test matrix CI and remove CodeQL#4

Merged
danielnachumdev merged 12 commits into
mainfrom
ci/python-test-matrix
Jun 19, 2026
Merged

Add Python test matrix CI and remove CodeQL#4
danielnachumdev merged 12 commits into
mainfrom
ci/python-test-matrix

Conversation

@danielnachumdev

Copy link
Copy Markdown
Owner

Summary

  • Replace the old python-package workflow (flake8 + single-version pytest) with a dedicated test.yml workflow running pytest across Python 3.9–3.13
  • Remove CodeQL scanning workflow
  • Run tests on push to main and on all pull requests
  • Bump gitleaks action versions

Verified

  • Pending CI on this PR

Made with Cursor

danielnachumdev and others added 4 commits June 19, 2026 23:42
Remove CodeQL and the old python-package workflow, add a standalone
pytest job across Python 3.9–3.13 on push to main and all PRs, and bump
gitleaks action versions.

Co-authored-by: Cursor <cursoragent@cursor.com>
Move tests under tests/unit and tests/integration, share command test
base at tests/base_command.py, and point pytest at both directories.

Co-authored-by: Cursor <cursoragent@cursor.com>
pytest.ini enables --cov flags, so the plugin must be installed when
running the test suite in GitHub Actions.

Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread .github/workflows/test.yml Fixed
danielnachumdev and others added 8 commits June 20, 2026 00:09
Move pytest, coverage, mypy, and pylint settings into pyproject.toml,
drop the standalone config files and Makefile, and let quickpub runners
use default pyproject discovery.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add per-test Windows skips for cmd.exe-specific cases, cross-platform
echo/ping helpers for the rest, fix asyncio subprocess cleanup, and
switch pytest default output to -q.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add contents: read to the test workflow for CodeQL, restore protocol
reflection helpers, and harden probability, database, and generator tests
for parallel CI runs.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
astral-sh/setup-uv has no v8 major tag; use the latest release.

Co-authored-by: Cursor <cursoragent@cursor.com>
Require Python 3.10+ to match JavaInterface and typing features.
Relax enum test assertion that was flaky when inspect.getsource fails.

Co-authored-by: Cursor <cursoragent@cursor.com>
Pin setup-uv to v8.2.0, export JavaInterface on all supported versions,
and add runtime fallbacks for reflection and interface introspection on 3.8.

Co-authored-by: Cursor <cursoragent@cursor.com>
Use runtime reflection when inspect.getsource resolves the wrong class
from the module file, and treat interface generic handlers as unimplemented.

Co-authored-by: Cursor <cursoragent@cursor.com>
@danielnachumdev
danielnachumdev merged commit 1d89a70 into main Jun 19, 2026
9 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.

2 participants