From d61dde2288650197164d5dd4cd3f59f892b44a88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=9C=A8=E6=A3=AE=20=C2=B7=20=E4=BD=9C=E9=9C=96?= <16236903+NMSAzulX@users.noreply.github.com> Date: Wed, 1 May 2024 13:14:38 +0800 Subject: [PATCH] fixed ci config --- .github/NMS_TEMPLATE/codecov.yml.template | 2 +- .github/NMS_TEMPLATE/test.yml.template | 18 ++++++++++-------- .github/workflows/codecov.yml | 2 +- .github/workflows/pr_test.yml | 18 ++++++++++-------- 4 files changed, 22 insertions(+), 18 deletions(-) diff --git a/.github/NMS_TEMPLATE/codecov.yml.template b/.github/NMS_TEMPLATE/codecov.yml.template index f2080d43..c4a0806c 100644 --- a/.github/NMS_TEMPLATE/codecov.yml.template +++ b/.github/NMS_TEMPLATE/codecov.yml.template @@ -36,7 +36,7 @@ ${{nms.codecov}} - name: 📶 Push to Codecov if: ${{ needs.prepare.outputs.hasCoverageKey == 'true' }} - uses: codecov/codecov-action@v3.1.4 + uses: codecov/codecov-action@v4.3.0 with: token: ${{ secrets.COVERAGE_KEY }} directory: ./coverage/ diff --git a/.github/NMS_TEMPLATE/test.yml.template b/.github/NMS_TEMPLATE/test.yml.template index 7497190c..e9c44659 100644 --- a/.github/NMS_TEMPLATE/test.yml.template +++ b/.github/NMS_TEMPLATE/test.yml.template @@ -12,7 +12,9 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, macos-latest, windows-latest] + os: [ubuntu-latest, windows-latest] + +# , macos-latest steps: - uses: actions/checkout@v4 @@ -34,13 +36,13 @@ ${{nms.tests}} files: | TestResults/**/*.trx - - name: Publish Test Results - if: matrix.os == 'macos-latest' - uses: EnricoMi/publish-unit-test-result-action/composite@v2 - with: - check_name: 'UT Test - Macos' - files: | - TestResults/**/*.trx +# - name: Publish Test Results +# if: matrix.os == 'macos-latest' +# uses: EnricoMi/publish-unit-test-result-action/composite@v2 +# with: +# check_name: 'UT Test - Macos' +# files: | +# TestResults/**/*.trx - name: Publish Test Results if: matrix.os == 'windows-latest' diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index d1e87231..7c7f6354 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -38,7 +38,7 @@ jobs: - name: 📶 Push to Codecov if: ${{ needs.prepare.outputs.hasCoverageKey == 'true' }} - uses: codecov/codecov-action@v3.1.4 + uses: codecov/codecov-action@v4.3.0 with: token: ${{ secrets.COVERAGE_KEY }} directory: ./coverage/ diff --git a/.github/workflows/pr_test.yml b/.github/workflows/pr_test.yml index 75f88395..4e1af845 100644 --- a/.github/workflows/pr_test.yml +++ b/.github/workflows/pr_test.yml @@ -12,7 +12,9 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, macos-latest, windows-latest] + os: [ubuntu-latest, windows-latest] + +# , macos-latest steps: - uses: actions/checkout@v4 @@ -38,13 +40,13 @@ jobs: files: | TestResults/**/*.trx - - name: Publish Test Results - if: matrix.os == 'macos-latest' - uses: EnricoMi/publish-unit-test-result-action/composite@v2 - with: - check_name: 'UT Test - Macos' - files: | - TestResults/**/*.trx +# - name: Publish Test Results +# if: matrix.os == 'macos-latest' +# uses: EnricoMi/publish-unit-test-result-action/composite@v2 +# with: +# check_name: 'UT Test - Macos' +# files: | +# TestResults/**/*.trx - name: Publish Test Results if: matrix.os == 'windows-latest'