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

optimize: add tests for java17 and springboot in the github/actions #4247

Merged
merged 140 commits into from
Feb 28, 2022

Conversation

wangliang181230
Copy link
Contributor

@wangliang181230 wangliang181230 commented Dec 30, 2021

optimize: add tests for java17 and springboot in the github/actions.
优化测试: 在github/actions上,添加基于 java17springboot 各版本的测试。(目标分支:mastertest

test.yml:

  1. 预发布分支1.x.x2.x.xpush 时,会执行一次 test.yml 以此来验证当前代码在java17及其他各组件的兼容性。
  2. 创建一个名称格式为 test* 的分支 push 时,也会执行一次 test.yml

其他更新:

  1. 固定 kotlin 的版本,防止 *.kt 编译失败。
  2. 升级 zookeeper 版本到 3.5.9,以兼容 java17
  3. 优化 build.yml-P imageCodecov只在 matrix.java == '8' 时才执行。

未来的计划:

以相同的方式,后面还可以再添加对各依赖的版本兼容性测试。如db-driver、redis、druid等等。
复制 test.yml 并将 springboot 改成其他依赖即可。

# Conflicts:
#	server/src/test/java/io/seata/server/coordinator/DefaultCoreTest.java
#	test/src/test/java/io/seata/saga/engine/StateMachineAsyncTests.java
#	test/src/test/java/io/seata/saga/engine/StateMachineTests.java
#	test/src/test/java/io/seata/saga/engine/db/StateMachineDBTests.java
#	test/src/test/java/io/seata/saga/engine/db/mockserver/StateMachineAsyncDBMockServerTests.java
#	test/src/test/java/io/seata/saga/engine/db/mockserver/StateMachineDBMockServerTests.java
@wangliang181230 wangliang181230 changed the title optimize: add tests for springboot and java17 in the github/actions [WIP: 拆分了PR#4403,请先合并#4403] optimize: add tests for springboot and java17 in the github/actions Feb 23, 2022
@wangliang181230 wangliang181230 changed the title [WIP: 拆分了PR#4403,请先合并#4403] optimize: add tests for springboot and java17 in the github/actions [WIP: 请先合并拆分的PR#4403] optimize: add tests for springboot and java17 in the github/actions Feb 23, 2022
@wangliang181230 wangliang181230 changed the title [WIP: 请先合并拆分的PR#4403] optimize: add tests for springboot and java17 in the github/actions optimize: add tests for springboot and java17 in the github/actions Feb 23, 2022
@wangliang181230 wangliang181230 changed the title optimize: add tests for springboot and java17 in the github/actions optimize: add tests for java17 and springboot in the github/actions Feb 23, 2022
Copy link
Member

@slievrly slievrly left a comment

Choose a reason for hiding this comment

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

LGTM, test ok.

Copy link
Contributor

@funky-eyes funky-eyes left a comment

Choose a reason for hiding this comment

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

LGTM

@wangliang181230 wangliang181230 merged commit 16f0bfa into apache:develop Feb 28, 2022
@wangliang181230 wangliang181230 deleted the optimize/github-actions branch February 28, 2022 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants