Skip to content

Commit b1bf4d7

Browse files
JimZhouZZYda-liii
authored andcommitted
!331 [200_2] 在ci-ubuntu流程中加入测试
1 parent fe67314 commit b1bf4d7

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

.workflow/ci-ubuntu.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ stages:
4444
steps:
4545
- step: build@ruby
4646
name: build_ruby
47-
displayName: build liii
47+
displayName: build and test liii
4848
rubyVersion: 3.0.2
4949
commands:
5050
- wget https://gitee.com/XmacsLabs/mogan/attach_files/1813514/download -O /tmp/xmake.deb
@@ -55,6 +55,10 @@ stages:
5555
- xmake repo -u
5656
- xmake config -vD --yes
5757
- xmake build -vD liii
58+
- xmake build -vD --group=tests
59+
- bash bin/test_all
60+
- bash bin/test_all_integrated
61+
- bash bin/test_all_scheme
5862
caches: [
5963
build/.build_cache,
6064
build/.packages,

devel/200_2.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 200_2
1+
# 200_2 迁移测试到mogan仓库
22
## 2025/06/30
33
### What
44
恢复C++测试和Scheme测试的执行
@@ -15,4 +15,11 @@
1515
|./bin/test_all_scheme|bash bin/test_all_scheme|执行所有Scheme测试|
1616
|./bin/test_all_integrated|bash bin/test_all_integrated|执行所有集成测试|
1717
|./bin/test_only [target-name]|bash bin/test_only [target-name]|只执行某一个单元测试|
18-
|xmake show -l targets|-|列出所有target,其中以_test结尾的是C++的单元测试,形如[0_9]*_[0_9]*的是集成测试|
18+
|xmake show -l targets|-|列出所有target,其中以_test结尾的是C++的单元测试,形如[0_9]*_[0_9]*的是集成测试|
19+
20+
## 2025/06/30 在ci-ubuntu中添加运行测试的语句
21+
### What
22+
在ci-ubuntu中新增构建测试和运行测试的语句
23+
24+
### Why
25+
前一个PR已经将测试迁移过来,现在将测试加入ci流程中

0 commit comments

Comments
 (0)