Skip to content

ci: add benchmark package to check matrix#58

Merged
Chouffe merged 2 commits into
mainfrom
arthur/ci-benchmark
Jun 12, 2026
Merged

ci: add benchmark package to check matrix#58
Chouffe merged 2 commits into
mainfrom
arthur/ci-benchmark

Conversation

@Chouffe

@Chouffe Chouffe commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Closes #56

The CI check job matrix only listed core, train, eval, api, while the root Makefile declares PACKAGES := core train eval api benchmark — so benchmark/ was linted and tested locally but never in CI.

This adds benchmark to the matrix. The package's Makefile steps match the CI job exactly (uv sync, ruff check ., ruff format --check ., pytest tests/ -v), so no other workflow changes are needed.

CI-friendliness checked per the issue:

  • Tests need no GPU or network: the CUDA path is monkeypatched (test_machine.py covers the no-CUDA case) and requests.post is mocked.
  • Dependency weight: benchmark depends on core (which pulls torch), same as the existing train leg, so the uv cache covers it.
  • Verified locally: all four steps pass (lint clean, format clean, 24 tests passed).

The root Makefile declares PACKAGES := core train eval api benchmark,
but the CI check matrix only covered the first four, so ruff and pytest
regressions in benchmark/ could merge undetected.

Closes #56
@Chouffe Chouffe requested a review from MateoLostanlen June 12, 2026 06:53
@Chouffe Chouffe merged commit 7eecbb1 into main Jun 12, 2026
8 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.

benchmark package is not covered by CI

1 participant