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

Ftr:integrate test #535

Merged
merged 5 commits into from May 4, 2023
Merged

Ftr:integrate test #535

merged 5 commits into from May 4, 2023

Conversation

Code-Fight
Copy link
Contributor

What this PR does:
集成测试的脚本,自动加载sample下面的integrate_test,检测当前代码是否有问题

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


@github-actions github-actions bot added the ci/cd label Apr 1, 2023
@codecov-commenter
Copy link

codecov-commenter commented Apr 1, 2023

Codecov Report

Merging #535 (3a1b4e9) into master (adfc0ee) will decrease coverage by 1.99%.
The diff coverage is n/a.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##           master     #535      +/-   ##
==========================================
- Coverage   38.64%   36.65%   -1.99%     
==========================================
  Files         152      160       +8     
  Lines       10250    11133     +883     
==========================================
+ Hits         3961     4081     +120     
- Misses       5963     6705     +742     
- Partials      326      347      +21     

see 66 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

strategy:
matrix:
golang:
- 1.19
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

项目中用的 1.18,最好统一一下

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

项目中用的 1.18,最好统一一下

已改

- name: "set up go"
uses: actions/setup-go@v3
with:
go-version: 1.19
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

同上

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

同上

已改

echo "github pull request head branch -> ${GITHUB_HEAD_REF}"

echo "use seata-go-samples $3 branch for integration testing"
git clone -b ftr/integrate_test https://github.com/seata/seata-go-samples samples && cd samples
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里的 ftr/integrate_test 分支未来是否还会存在?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个搞错了,已经删掉了 直接master就可以了

@luky116
Copy link
Contributor

luky116 commented Apr 22, 2023

samples那边已经合并了,但是这个项目跑好像还有点问题:
image

@Issues-translate-bot
Copy link

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


It seems that there is still a problem:
image

@Code-Fight
Copy link
Contributor Author

samples那边已经合并了,但是这个项目跑好像还有点问题: image

这个命令是直接直接的shell吗 少了两个参数。把这个action重新触发下吧,看看能不能run起来

@Issues-translate-bot
Copy link

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


The samples have been merged, but there seems to be some problems with running this project: image

Is this order a direct shell? Two parameters are missing. Re-trigger this action to see if it can run

@luky116 luky116 merged commit 355693d into apache:master May 4, 2023
5 checks passed
georgehao pushed a commit to georgehao/seata-go that referenced this pull request May 7, 2023
feat add integrate_test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants