Skip to content

Commit

Permalink
fix: 修复ci问题
Browse files Browse the repository at this point in the history
Signed-off-by: longyue0521 <[email protected]>
  • Loading branch information
longyue0521 committed Oct 17, 2023
1 parent cf53b00 commit 29ebb13
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 5 deletions.
21 changes: 21 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
## 自查清单

注意: 请完成下列自查清单中的**所有**自查项,完成一项勾选一项.

- [ ] 当前PR不存在未合并的代码或者其他冲突.
- [ ] 当前PR中的**产品代码**有恰当的注释、文档及**必备的单元、集成及e2e测试代码**.

## PR概述
<!--
简明扼要地描述一下这个PR所做的事情以及它试图解决的问题。 可以添加图片、链接等来补充说明.
-->

## 关联Issue
<!--
这个PR是否会关闭某些未解决的Issue?如果是的话,请在这里使用类似于`#901`的方式来提及Issue或`close #877`的方式来关闭对应的Issue.
-->

## 其他内容
<!--
在这里写下任何你想与代码审查者想要沟通的内容.
-->
7 changes: 5 additions & 2 deletions .github/workflows/go-fmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,11 @@ jobs:
with:
go-version: ">=1.21.0"

- name: Install goimports
run: go install golang.org/x/tools/cmd/goimports@latest
- name: Install dependencies
run: |
go install mvdan.cc/gofumpt@latest && \
go install golang.org/x/tools/cmd/goimports@latest && \
go install github.com/golangci/golangci-lint/cmd/[email protected]
- name: Check
run: |
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

name: Integration Test
name: Integration and E2E Test

on:
push:
Expand All @@ -30,5 +30,8 @@ jobs:
with:
go-version: '>=1.21.0'

- name: Test
run: sudo sh ./script/integrate_test.sh
- name: Run Integration Test
run: sudo sh ./scripts/cicd/integration-testing.sh

- name: Run E2E Test
run: sudo sh ./scripts/cicd/end-to-end-testing.sh

0 comments on commit 29ebb13

Please sign in to comment.