Skip to content

Commit

Permalink
fixed ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
NMSAzulX committed May 1, 2024
1 parent 5defaf1 commit d61dde2
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/NMS_TEMPLATE/codecov.yml.template
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
18 changes: 10 additions & 8 deletions .github/NMS_TEMPLATE/test.yml.template
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
18 changes: 10 additions & 8 deletions .github/workflows/pr_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand Down

0 comments on commit d61dde2

Please sign in to comment.