-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
test: add test-os.yml
for OS
#6081
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## 2.x #6081 +/- ##
============================================
+ Coverage 49.08% 49.35% +0.27%
- Complexity 4782 4805 +23
============================================
Files 913 913
Lines 31678 31710 +32
Branches 3826 3827 +1
============================================
+ Hits 15549 15651 +102
+ Misses 14592 14517 -75
- Partials 1537 1542 +5
|
This reverts commit 84692b3.
# Conflicts: # .github/workflows/build.yml # .github/workflows/test-druid.yml # .github/workflows/test.yml
.github/workflows/test.yml
Outdated
else | ||
./mvnw -T 4C clean test -P args-for-client-test -Dspring-boot.version=${{ matrix.springboot }} -Dcheckstyle.skip=true -Dlicense.skip=true -Dmaven.git-commit-id.skip=true -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; | ||
fi | ||
./mvnw -T 4C clean install \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need an install phase ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, this is unnecessary in regular unit testing.
I only want it applied to unit-test of various OSs.
I'll fix it.
哦,这在常规测试中的确是不需要的。
我只想把它用在对各OS的测试中。
我等下修改一下。
.github/workflows/test-os.yml
Outdated
branches: [ test*, "*.*.*" ] | ||
|
||
jobs: | ||
# job 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here, it feels awkward to separate the arm64 testing from the Spring testing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then I will try to merge test.yml
and test-os.yml
.
那我尝试把 test.yml
和 test-os.yml
合并掉。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
test-os.yml
for testing the OStest-os.yml
for OS
1、PR
添加
test-os.yml
用于测试seata在各种操作系统下的运行情况。test: add
test-os.yml
for testing the OS调整单测、actions脚本、插件版本,提高CI成功率。
Adjust unit-test, actions script and plugin versions to improve CI success rate.
优化部分日志。
Optimize some logs.
2、测试成功日志(Test success log):
https://github.com/wangliang181230/seata/actions?query=branch%3Atest-os-2.x