From 6702db4fd24ff45f6e30e1f38a58b8a733ead4d7 Mon Sep 17 00:00:00 2001 From: Zxilly Date: Fri, 22 Nov 2024 04:07:17 +0800 Subject: [PATCH] ci: disable codecov for s390x for now --- .github/actions/setup-script/action.yml | 7 ------- .github/workflows/built-tests.yml | 6 +++--- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/actions/setup-script/action.yml b/.github/actions/setup-script/action.yml index f2abc7b743..edcde2cc35 100644 --- a/.github/actions/setup-script/action.yml +++ b/.github/actions/setup-script/action.yml @@ -22,13 +22,6 @@ runs: shell: bash run: pipx install poetry - - name: Setup Python - uses: actions/setup-python@2bd53f9a4d1dd1cd21eaffcc01a7b91a8e73ea4c - with: - python-version: '3.12' - check-latest: true - cache: 'poetry' - - name: Add python dependencies shell: bash working-directory: ./scripts diff --git a/.github/workflows/built-tests.yml b/.github/workflows/built-tests.yml index bfe2c1be1a..5303c2b239 100644 --- a/.github/workflows/built-tests.yml +++ b/.github/workflows/built-tests.yml @@ -114,7 +114,7 @@ jobs: - name: Upload coverage uses: codecov/codecov-action@015f24e6818733317a2da2edd6290ab26238649a # v5.0.7 - if: ${{ !cancelled() }} + if: ${{ !cancelled() && matrix.os != 'self-hosted' }} with: disable_search: true token: ${{ secrets.CODECOV_TOKEN }} @@ -123,7 +123,7 @@ jobs: verbose: true - name: Upload test results to Codecov - if: ${{ !cancelled() && matrix.test-type == 'unit' }} + if: ${{ !cancelled() && matrix.test-type == 'unit' && matrix.os != 'self-hosted' }} uses: codecov/test-results-action@9739113ad922ea0a9abb4b2c0f8bf6a4aa8ef820 # v1.0.1 with: token: ${{ secrets.CODECOV_TOKEN }} @@ -217,7 +217,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} name: Web UI tests flags: ui - file: ./ui/test-results.xml + files: ./ui/test-results.xml verbose: true build-explorer: