Skip to content

Commit ca99fb3

Browse files
committed
chore: skip codecov upload for windows
1 parent a54edf2 commit ca99fb3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/tests.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
matrix:
2121
os: [ubuntu-latest, macos-latest, windows-latest]
22-
timeout-minutes: 5
22+
timeout-minutes: 10
2323
steps:
2424
- name: Checkout repository
2525
uses: actions/checkout@v4
@@ -48,19 +48,21 @@ jobs:
4848
run: 'pnpm ci:test:units'
4949

5050
- name: Upload Test Results
51+
if: matrix.os != 'windows-latest' # currently extremely slow upload in Windows
5152
uses: codecov/test-results-action@v1
5253
with:
5354
fail_ci_if_error: true
5455
files: ./coverage/junit.xml
55-
flags: unittests, ${{ matrix.os }}
56+
flags: unittests, ${{ runner.os }}
5657
token: ${{ secrets.CODECOV_TOKEN }}
5758
verbose: true
5859

5960
- name: Upload to Codecov
61+
if: matrix.os != 'windows-latest' # currently extremely slow upload in Windows
6062
uses: codecov/codecov-action@v5
6163
with:
6264
fail_ci_if_error: true
6365
files: ./coverage/lcov.info, ./coverage/junit.xml
64-
flags: unittests, ${{ matrix.os }}
66+
flags: unittests, ${{ runner.os }}
6567
token: ${{ secrets.CODECOV_TOKEN }}
6668
verbose: true

0 commit comments

Comments
 (0)