Skip to content

Commit 3bbaed1

Browse files
committed
👷 [ci] Disable Codecov max_report_age to prevent CI timing issues
- Update codecov.yml: set codecov.max_report_age to off (was "24h") - Rationale: avoid rejecting valid coverage uploads due to CI delays, clock skew, or slow runners - No other Codecov settings changed; uploads and notification behavior preserved Signed-off-by: Nick2bad4u <20943337+Nick2bad4u@users.noreply.github.com>
1 parent 5520dec commit 3bbaed1

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,14 @@ jobs:
6363
name: test-results-windows-51
6464
path: test-results.xml
6565

66+
- name: Upload coverage results
67+
if: always()
68+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
69+
with:
70+
name: coverage-windows-51
71+
path: coverage.xml
72+
73+
6674
- name: Upload coverage to Codecov
6775
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.1.2
6876
with:
@@ -146,6 +154,13 @@ jobs:
146154
name: test-results-${{ matrix.os }}-pwsh
147155
path: test-results.xml
148156

157+
- name: Upload coverage results
158+
if: always()
159+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
160+
with:
161+
name: test-coverage-${{ matrix.os }}-pwsh
162+
path: coverage.xml
163+
149164
- name: Upload coverage to Codecov
150165
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.1.2
151166
with:

codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ codecov:
88
uploads: true # Keep historical data for analytics
99

1010
branch: main
11-
max_report_age: "24h" # Modern syntax - reject reports older than 24 hours
11+
max_report_age: off # Disable age check to prevent CI timing issues
1212
notify:
1313
manual_trigger: false # Explicit setting for modern CI/CD pipelines
1414
notify_error: true # Show upload failures in comments

0 commit comments

Comments
 (0)