Skip to content

Commit c8a7695

Browse files
committed
ci: include training runtime paths and explicit train test suite
1 parent 6353630 commit c8a7695

2 files changed

Lines changed: 16 additions & 3 deletions

File tree

.github/workflows/build-train-image.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
- ".dockerignore"
1111
- "train.py"
1212
- "train_improved.py"
13+
- "src/training/**"
1314
- "src/engine/**"
1415
- "src/model/**"
1516
- "src/game/**"
@@ -23,6 +24,7 @@ on:
2324
- ".dockerignore"
2425
- "train.py"
2526
- "train_improved.py"
27+
- "src/training/**"
2628
- "src/engine/**"
2729
- "src/model/**"
2830
- "src/game/**"

.github/workflows/ci-train.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@ on:
88
paths:
99
- "train.py"
1010
- "train_improved.py"
11+
- "src/training/**"
1112
- "src/engine/**"
1213
- "src/model/**"
1314
- "src/game/**"
1415
- "src/data/**"
1516
- "scripts/**"
1617
- "tests/test_mcts_numerics.py"
17-
- "tests/test_training_step_numerics.py"
18+
- "tests/test_training_*.py"
1819
- "pyproject.toml"
1920
- "uv.lock"
2021
- "pyrefly.toml"
@@ -23,13 +24,14 @@ on:
2324
paths:
2425
- "train.py"
2526
- "train_improved.py"
27+
- "src/training/**"
2628
- "src/engine/**"
2729
- "src/model/**"
2830
- "src/game/**"
2931
- "src/data/**"
3032
- "scripts/**"
3133
- "tests/test_mcts_numerics.py"
32-
- "tests/test_training_step_numerics.py"
34+
- "tests/test_training_*.py"
3335
- "pyproject.toml"
3436
- "uv.lock"
3537
- "pyrefly.toml"
@@ -96,4 +98,13 @@ jobs:
9698
run: uv run pyrefly check train.py src tests
9799

98100
- name: Pytest (train scope)
99-
run: uv run pytest -q tests/test_mcts_numerics.py tests/test_training_step_numerics.py
101+
run: |
102+
uv run pytest -q \
103+
tests/test_mcts_numerics.py \
104+
tests/test_training_bootstrap.py \
105+
tests/test_training_checkpointing.py \
106+
tests/test_training_curriculum.py \
107+
tests/test_training_monitor.py \
108+
tests/test_training_selfplay_runtime.py \
109+
tests/test_training_step_numerics.py \
110+
tests/test_training_trainer_runtime.py

0 commit comments

Comments
 (0)