Skip to content

Commit baa8ba8

Browse files
committed
Update Codecov version
1 parent 596e731 commit baa8ba8

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

.github/workflows/Build.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,15 @@ jobs:
4343

4444
- name: Upload coverage to Codecov
4545
if: github.event_name != 'schedule'
46-
uses: codecov/codecov-action@v4
46+
uses: codecov/codecov-action@v5
4747
with:
4848
token: ${{ secrets.CODECOV_TOKEN }}
49-
file: ./_meta/coverage.xml
49+
files: ./_meta/coverage.xml
5050
fail_ci_if_error: true
51+
52+
- name: Upload test results to Codecov
53+
if: ${{ !cancelled() }}
54+
uses: codecov/test-results-action@v1
55+
with:
56+
files: ./_meta/junit.xml
57+
token: ${{ secrets.CODECOV_TOKEN }}

phpunit.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
<directory suffix="Test.php">tests/</directory>
2222
</testsuite>
2323
</testsuites>
24-
<logging/>
24+
<logging>
25+
<junit outputFile="_meta/junit.xml"/>
26+
</logging>
2527
<source>
2628
<include>
2729
<directory suffix=".php">src/</directory>

0 commit comments

Comments
 (0)