OCT 1. 更新 gitlab-ci 配置, 支持 测试

This commit is contained in:
黄昕 2024-03-05 18:04:55 +08:00
parent 73f62f06e2
commit c2a5eda029
1 changed files with 10 additions and 4 deletions

View File

@ -39,14 +39,20 @@ compile :
# 打包
integration-test:
stage : integration-test
tags :
stage : integration-test
tags :
- linux-maven
only :
only :
- master
script:
script :
- echo "=============== 开始集成测试 ==============="
- mvn test
artifacts:
when : always
reports:
junit:
- target/surefire-reports/TEST-*.xml
- target/failsafe-reports/TEST-*.xml
# 打包
package :