Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/nightly-real-model.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ jobs:
- name: Install (semantic extra + training deps)
run: |
python -m pip install -U pip
pip install -e ".[semantic,bench,cli]" onnx pytest pytest-cov
# Pytest imports every collected test module before applying -k, so
# install the repository's test dependencies as well as the runtime.
pip install -e ".[dev,semantic]" onnx
- name: Build dev artifacts (synthetic-only, offline)
run: make training-dev-artifacts PY=python
- name: Real-model runtime smoke (registry + calibration artifact)
Expand Down
7 changes: 7 additions & 0 deletions tests/test_phase5_backcompat.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,13 @@ def test_pr_ci_test_job_excludes_online_and_large_markers():
assert 'pytest -m "not online and not large"' in text


def test_nightly_real_model_installs_test_dependencies():
text = (REPO_ROOT / ".github" / "workflows" / "nightly-real-model.yml").read_text(
encoding="utf-8"
)
assert 'pip install -e ".[dev,semantic]" onnx' in text


def test_wheel_size_workflow_checks_onnx_and_training_paths():
text = (REPO_ROOT / ".github" / "workflows" / "wheel-size.yml").read_text(encoding="utf-8")
assert ".onnx" in text
Expand Down
Loading