File tree 1 file changed +9
-3
lines changed
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 67
67
BS_ACCESS_KEY : ${{ secrets.BS_ACCESS_KEY }}
68
68
if : " ${{ matrix.with_coverage == true }}"
69
69
run : |
70
- vendor/bin/phpunit -v --coverage-clover=coverage.clover
70
+ vendor/bin/phpunit -v --coverage-clover=coverage.clover --log-junit junit.xml
71
71
72
72
- name : Run tests without Coverage
73
73
env :
@@ -79,12 +79,18 @@ jobs:
79
79
run : |
80
80
vendor/bin/phpunit -v
81
81
82
- - name : Upload Coverage to CodeCov
83
- if : " ${{ matrix.with_coverage == true }} "
82
+ - name : Upload coverage to Codecov
83
+ if : ${{ matrix.with_coverage == true && !cancelled() }}
84
84
uses : codecov/codecov-action@v4
85
85
with :
86
86
token : ${{ secrets.CODECOV_TOKEN }}
87
87
88
+ - name : Upload test results to Codecov
89
+ if : ${{ matrix.with_coverage == true && !cancelled() }}
90
+ uses : codecov/test-results-action@v1
91
+ with :
92
+ token : ${{ secrets.CODECOV_TOKEN }}
93
+
88
94
- name : Upload Coverage to Scrutinizer CI (PHP < 8.0)
89
95
if : " ${{ matrix.php < '8.0' && matrix.with_coverage == true }}"
90
96
run : |
You can’t perform that action at this time.
0 commit comments