Skip to content

Commit e22852e

Browse files
authored
CI: use 12 groups to run Python UTs (#5131)
Fix CI errors. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated CI/CD test execution infrastructure to improve build parallelization and test distribution efficiency. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Jinzhe Zeng <jinzhe.zeng@ustc.edu.cn>
1 parent fe1662d commit e22852e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/test_python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
group: [1, 2, 3, 4, 5, 6]
21+
group: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
2222
python: ["3.10", "3.13"]
2323

2424
steps:
@@ -57,7 +57,7 @@ jobs:
5757
restore-keys: |
5858
test2-durations-combined-${{ matrix.python }}-${{ github.sha }}
5959
test2-durations-combined-${{ matrix.python }}
60-
- run: pytest --cov=deepmd source/tests --splits 6 --group ${{ matrix.group }} --store-durations --clean-durations --durations-path=.test_durations --splitting-algorithm least_duration
60+
- run: pytest --cov=deepmd source/tests --splits 12 --group ${{ matrix.group }} --store-durations --clean-durations --durations-path=.test_durations --splitting-algorithm least_duration
6161
env:
6262
NUM_WORKERS: 0
6363
DP_CI_IMPORT_PADDLE_BEFORE_TF: 1

0 commit comments

Comments
 (0)