Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

【Contributor 文档】手动或自动执行 arklet 单元测试 #47

Closed
lylingzhen opened this issue Aug 28, 2023 · 1 comment
Closed
Assignees

Comments

@lylingzhen
Copy link
Contributor

lylingzhen commented Aug 28, 2023

注:当前流水线只支持 arklet master 分支,若需要跑其它分支可在社区协作钉钉群(群号:24970018417)讨论并提交 PR。

自动执行

任意 Contributor 修改 arklet 目录内容并发起 PR 到 master 分支或者在 master 分支 PR 合并之后,单元测试的 Workflow 会被自动执行,您可在 PR 的流水线中看到单元测试的执行结果,单测 Workflow 执行通过才允许合并。比如:https://github.com/sofastack/sofa-serverless/pull/49/checks

image

您也可前往 GitHub Workflow 直接查看执行结果:https://github.com/sofastack/sofa-serverless/actions/workflows/arklet_unit_test.yml


手动执行

  1. 进入 GitHub Workflow:https://github.com/sofastack/sofa-serverless/actions/workflows/arklet_unit_test.yml

  2. 点击右上角 "Run workflow" -> "Run workflow":

image

  1. 等待 Workflow 执行完成,可以点击查看执行的详情:

image

image


如何修改 Workflow

Workflow 定义文件:https://github.com/sofastack/sofa-serverless/blob/master/.github/workflows/arklet_unit_test.yml ,可按需修改并提交 PR。当前 Workflow 开启了 Maven 缓存,已经加速源代码构建。

@lylingzhen
Copy link
Contributor Author

@lvjing2 @yuanyuancin @TomorJM 关注

@lylingzhen lylingzhen changed the title 【Contributor 文档】手动或自动执行 arklet 组件 master 分支单元测试 【Contributor 文档】手动或自动执行 arklet 单元测试 Aug 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant