Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable go cache for ci, coverage of ut testing is only available after merge of pr #3011

Merged
merged 10 commits into from
Oct 11, 2023

Conversation

hailaz
Copy link
Member

@hailaz hailaz commented Oct 10, 2023

No description provided.

@hailaz
Copy link
Member Author

hailaz commented Oct 10, 2023

流水线说明

gf.yml

Setup Golang

安装 Golang 环境,并根据 **/go.mod 的 hash 加载缓存。

单元测试

在普通提交和合并请求的时候,执行带有缓存的单元测试。

在 master 的 push 的时候(合并到 master),执行带有覆盖率报告的单元测试。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Pipeline description

gf.yml

Setup Golang

Install the Golang environment and load the cache according to the hash of **/go.mod.

unit test

Execute unit tests with caching during normal commits and merge requests.

When master is pushed (merged into master), unit tests with coverage reports are executed.

@hailaz hailaz requested a review from gqcn October 10, 2023 14:17
@gqcn gqcn merged commit ca7450f into master Oct 11, 2023
28 of 36 checks passed
@gqcn gqcn deleted the fix/go-cache branch October 11, 2023 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants