Skip to content

ci: run the test suite on GitHub Actions - #20

Merged
emilmont merged 1 commit into
mainfrom
ci/github-actions
Nov 24, 2026
Merged

emilmont merged 1 commit into
mainfrom
ci/github-actions

Conversation

@emilmont

Copy link
Copy Markdown
Contributor

Summary

Adds a GitHub Actions workflow (.github/workflows/ci.yml) that runs the full test suite on every pull request, on pushes to main, and on manual dispatch.

Details

  • Ubuntu runner, Python 3.12 from .python-version, uv 0.9.5 (same as the inference Dockerfile), cache keyed on uv.lock.
  • uv sync --frozen --extra serve installs the exact locked versions. The serve extra adds Flask so the SageMaker HTTP contract tests run instead of being skipped.
  • pytest tests/ -ra runs the suite. -ra lists skipped tests.
  • Read-only token permissions, concurrency group cancels superseded runs, 45 minute job timeout.

Validation

Ran the same commands in a fresh checkout (tracked files only) on arm64 macOS: 291 passed, 3 skipped (opt-in slim-venv tests), about 3m40s of test time. uv lock --check passes. The first run on GitHub is the first Linux run (the lock uses xgboost-cpu there).

Not included

Slim-venv tests (PDM_SLIM_VENV_TEST=1), benchmarks, Docker build, and linting.

@emilmont
emilmont merged commit c9b3945 into main Nov 24, 2026
3 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