From bb6cd678cd7eec08501fd1b2e1f66c060c1a692d Mon Sep 17 00:00:00 2001 From: "Meggle (Sebastian Bathke)" Date: Thu, 20 Apr 2023 21:32:44 +0200 Subject: [PATCH 1/2] ci(test): skip test artifact upload on success It's only needed on failure, we can save time otherwise. (cherry picked from commit 0ca476e85895294534c25f6968a484ead1705834) --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3cd3debc5c78..e1e6c696daaf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -99,7 +99,7 @@ jobs: buildOutputFilePath: ${{ env.BUILD_OUTPUT_FILE_PATH }} - name: Upload test artifacts uses: ./.github/actions/collect-test-artifacts - if: always() + if: failure() with: name: "[IT] ${{ matrix.name }}" unit-tests: @@ -136,7 +136,7 @@ jobs: buildOutputFilePath: ${{ env.BUILD_OUTPUT_FILE_PATH }} - name: Upload test artifacts uses: ./.github/actions/collect-test-artifacts - if: always() + if: failure() with: name: "unit tests" smoke-tests: @@ -169,7 +169,7 @@ jobs: verify - name: Upload test artifacts uses: ./.github/actions/collect-test-artifacts - if: always() + if: failure() with: name: "[Smoke] ${{ matrix.os }}" property-tests: @@ -202,7 +202,7 @@ jobs: buildOutputFilePath: ${{ env.BUILD_OUTPUT_FILE_PATH }} - name: Upload test artifacts uses: ./.github/actions/collect-test-artifacts - if: always() + if: failure() with: name: Property Tests go-client: @@ -275,7 +275,7 @@ jobs: buildOutputFilePath: ${{ env.BUILD_OUTPUT_FILE_PATH }} - name: Upload test artifacts uses: ./.github/actions/collect-test-artifacts - if: always() + if: failure() with: name: Java 8 Client codeql: From fc42dec0ef4bfae84fd23f4f27ffc888e2eabd52 Mon Sep 17 00:00:00 2001 From: "Meggle (Sebastian Bathke)" Date: Fri, 21 Apr 2023 14:57:55 +0200 Subject: [PATCH 2/2] ci(test): reduce qa integration forks 8 seemed unstable too. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e1e6c696daaf..b8280f1ec55b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,7 @@ jobs: name: "QA Integration Tests" maven-modules: "qa/integration-tests" maven-build-threads: 1 - maven-test-fork-count: 8 + maven-test-fork-count: 6 tcc-enabled: 'true' tcc-concurrency: 3 - group: qa-update