Skip to content

Commit 7b7b45f

Browse files
committed
chore: use stability for determining coverage report
1 parent 48a9342 commit 7b7b45f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/run-ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,15 @@ jobs:
4242
working-directory: ${{ github.workspace }}
4343

4444
- name: Upload coverage reports to Codecov
45-
if: ${{ !cancelled() && matrix.php == '8.4' && runner.os == 'Linux' }} # Only need to upload code coverage once
45+
# Only need to upload code coverage once
46+
if: ${{ !cancelled() && matrix.php == '8.4' && matrix.stability == 'prefer-stable' }}
4647
uses: codecov/codecov-action@v5
4748
with:
4849
token: ${{ secrets.CODECOV_TOKEN }}
4950

5051
- name: Upload test results to Codecov
51-
if: ${{ !cancelled() && matrix.php == '8.4' && runner.os == 'Linux' }} # Only need to upload code coverage once
52+
# Only need to upload code coverage once
53+
if: ${{ !cancelled() && matrix.php == '8.4' && matrix.stability == 'prefer-stable' }}
5254
uses: codecov/test-results-action@v1
5355
with:
5456
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)