You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci: Add CI workflow for lint, typecheck, and CPU tests (#189)
## Summary
- New `ci.yml` workflow with 3 jobs on `ubuntu-latest`, no approval
gates:
- **lint**: `ruff check` + `ruff format --check`
- **typecheck**: `ty check` across boltz-dev, protenix-dev, rf3-dev
(matrix)
- **cpu-tests**: `pytest -m 'not gpu'` across all 3 envs (412 tests,
matrix)
- Switch self-hosted GPU runners from GitHub Actions cache to NFS-backed
caching
## Context
Addresses feedback from Karson and Marcus:
- Non-GPU tests now run automatically on PRs without approval
- Formatting/linting enforced in CI matching pre-commit hooks (ruff, ty)
- GPU test approval preserved for pausing during sampleworks machine
runs
## Test plan
- [x] Workflow YAML validated
- [x] CPU tests pass on ubuntu-latest
- [x] GPU tests work with NFS cache — pixi install: 11min → 11s,
boltz/rf3: 14min → 3.5min
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Chores**
* Added comprehensive CI workflows with lint, type-check, and
multi-environment test runs (including manual trigger) and adjusted GPU
install caching.
* Tightened type-checking rules for stricter diagnostics.
* Improved runtime robustness and fallback determinism for GPU extension
loading.
* Minor formatting and argument/help string cleanups across utilities.
* **Tests**
* Made tests more deterministic by adding targeted mocking and cache
resets.
* Improved test reliability and maintainability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
0 commit comments