From ad58352ed7fb323d5a08b094d75ed390a7a5545e Mon Sep 17 00:00:00 2001 From: Jackson Tian Date: Thu, 25 Jan 2024 19:51:37 +0800 Subject: [PATCH] test: set fail fast to false for github actions --- .github/workflows/ci.yml | 7 ++++--- README-CN.md | 7 +++++-- README.md | 6 +++++- .../java/com/aliyun/tea/TeaRetryableExceptionTest.java | 1 - 4 files changed, 14 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1065820..57c213c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,9 @@ jobs: build: runs-on: ubuntu-latest + environment: for-test strategy: + fail-fast: false matrix: # test against latest update of each major Java version, as well as specific updates of LTS versions: java: [8, 9, 11, 12, 13, 14, 15, 16, 17, 18] @@ -26,9 +28,8 @@ jobs: uses: actions/setup-java@v1 with: java-version: ${{ matrix.java }} - - name: Build with Maven + - name: Test with Maven run: mvn test env: CA: ${{ secrets.CA }} - - name: CodeCov - run: bash <(curl -s https://codecov.io/bash) -cF java + - uses: codecov/codecov-action@v3 diff --git a/README-CN.md b/README-CN.md index 934f664..53bbd34 100644 --- a/README-CN.md +++ b/README-CN.md @@ -19,17 +19,20 @@ ``` ## 问题 + [提交 Issue](https://github.com/aliyun/tea-java/issues/new),不符合指南的问题可能会立即关闭。 ## 发行说明 + 每个版本的详细更改记录在[发行说明](./ChangeLog.txt)中。 ## 相关 -* [OpenAPI 开发者门户](https://next.api.aliyun.com/) + +* [OpenAPI 开发者门户](https://api.aliyun.com/) * [最新源码](https://github.com/aliyun/tea-java) ## 许可证 + [Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0) Copyright 2009-present Alibaba Cloud All rights reserved. - diff --git a/README.md b/README.md index 32ed654..42e54f3 100644 --- a/README.md +++ b/README.md @@ -18,16 +18,20 @@ ``` ## Issues + [Opening an Issue](https://github.com/aliyun/tea-java/issues/new), Issues not conforming to the guidelines may be closed immediately. ## Changelog + Detailed changes for each release are documented in the [release notes](./ChangeLog.txt). ## References -* [OpenAPI Developer Portal](https://next.api.aliyun.com/) + +* [OpenAPI Developer Portal](https://api.aliyun.com/) * [Latest Release](https://github.com/aliyun/tea-java) ## License + [Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0) Copyright 2009-present Alibaba Cloud All rights reserved. diff --git a/src/test/java/com/aliyun/tea/TeaRetryableExceptionTest.java b/src/test/java/com/aliyun/tea/TeaRetryableExceptionTest.java index 5d61b66..006d15e 100644 --- a/src/test/java/com/aliyun/tea/TeaRetryableExceptionTest.java +++ b/src/test/java/com/aliyun/tea/TeaRetryableExceptionTest.java @@ -5,7 +5,6 @@ import java.util.HashMap; import java.util.Map; -import java.util.TreeMap; public class TeaRetryableExceptionTest { @Test