Skip to content

Commit 5fe1839

Browse files
authored
[CI] fix some tests scope (verl-project#1689)
### Checklist Before Starting - [ ] Search for similar PR(s). ### What does this PR do? Refactor and reduce some tests scope to reduce unrelated tests. ### High-Level Design > Demonstrate the high-level design if this PR is complex. ### Specific Changes > List the specific changes. ### API > Demonstrate how the API changes if any. ### Usage Example > Provide usage example(s) for easier usage. ```python # Add code snippet or script demonstrating how to use this ``` ### Test > For changes that can not be tested by CI (e.g., algorithm implementation, new model support), validate by experiment(s) and show results like training curve plots, evaluatuion results, etc. ### Additional Info. - **Issue Number**: Fixes issue # or discussion # if any. - **Training**: [Note which backend this PR will affect: FSDP, Megatron, both, or none] - **Inference**: [Note which backend this PR will affect: vLLM, SGLang, both, or none] ### Checklist Before Submitting - [ ] Read the [Contribute Guide](https://github.com/volcengine/verl?tab=readme-ov-file#contribution-guide). - [ ] Apply [pre-commit checks](https://github.com/volcengine/verl?tab=readme-ov-file#code-linting-and-formatting). - [ ] Add `[BREAKING]` to the PR title if it breaks any API. - [ ] Update the documentation about your changes in the [docs](https://github.com/volcengine/verl/tree/main/docs). - [x] Add CI test(s) if necessary.
1 parent 8298f7d commit 5fe1839

2 files changed

Lines changed: 20 additions & 6 deletions

File tree

.github/workflows/checkpoint_converter.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,22 @@ on:
1414
- v0.*
1515
paths:
1616
- "**/*.py"
17-
# Entrypoints
18-
- ".github/workflows/checkpoint_converter.yml"
19-
- "!examples"
17+
# Other entrypoints
18+
- "!examples/**"
19+
- "!tests/**"
2020
- "!verl/trainer/main_*.py"
2121
- "!verl/trainer/fsdp_sft_trainer.py"
2222
# Recipes
23-
- "!recipe"
23+
- "!recipe/**"
2424
# FSDP
2525
- "!verl/workers/**/*dp_*.py"
26+
# Entrypoints
27+
- ".github/workflows/checkpoint_converter.yml"
28+
- ".github/workflows/e2e_ppo_trainer_megatron.yml"
29+
- "examples/data_preprocess/gsm8k.py"
30+
- "tests/e2e/run_ppo_trainer_megatron.sh"
31+
- "verl/trainer/main_ppo.py"
32+
- "verl/trainer/config/ppo_megatron_trainer.yaml"
2633

2734

2835
# Cancel jobs on the same ref if a new one is triggered

.github/workflows/kernels.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,16 @@ on:
1717
- v0.2.x
1818
paths:
1919
- "**/*.py"
20-
- "verl/trainer/config/*.yaml"
20+
# Other entrypoints
21+
- "!examples/**"
22+
- "!tests/**"
23+
- "!verl/trainer/main_*.py"
24+
- "!verl/trainer/fsdp_sft_trainer.py"
25+
# Recipes
26+
- "!recipe/**"
27+
# Entrypoints
2128
- .github/workflows/kernels.yml
22-
- "tests/e2e/*.sh"
29+
- "tests/kernels/*"
2330

2431
# Cancel jobs on the same ref if a new one is triggered
2532
concurrency:

0 commit comments

Comments
 (0)