Skip to content

Commit d3fd249

Browse files
zjjliveinwj-Mcat
andauthored
【CI】 add ci scripts (#4249)
* fix docprompt deadlink * fix pretrained_models deadlink * add ci scripts * fix codestyle * fix codestyle * add make examples * add make release * add test_key * add make release * Update Makefile * rename regression * fix typo * fix typo * update Makefile Co-authored-by: 骑马小猫 <[email protected]>
1 parent 1415878 commit d3fd249

File tree

9 files changed

+2128
-1
lines changed

9 files changed

+2128
-1
lines changed

Makefile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,12 @@ deploy-paddlenlp:
6363
# build
6464
python3 setup.py sdist bdist_wheel
6565
# upload
66-
twine upload --skip-existing dist/*
66+
twine upload --skip-existing dist/*
67+
68+
.PHONY: regression-all
69+
release:
70+
bash ./scripts/regression/run_release.sh 0 0,1 all
71+
72+
.PHONY: regression-key
73+
key:
74+
bash ./scripts/regression/run_release.sh 0 0,1 p0

scripts/regression/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## PaddleNLP CI
2+
3+
主要代码结构及说明:
4+
```
5+
./
6+
├── run_ci.sh # CI pr级别 执行入口
7+
├── run_release.sh # 天级别回归&发版 执行入口
8+
├── ci_case.sh # CI 核心case
9+
├── ci_normal_case.py # 规范模型case 执行脚本
10+
└── requirements_ci.txt # 依赖库
11+
```

0 commit comments

Comments
 (0)