File tree Expand file tree Collapse file tree 3 files changed +36
-8
lines changed
Expand file tree Collapse file tree 3 files changed +36
-8
lines changed Original file line number Diff line number Diff line change 9999 XDEBUG_MODE : coverage
100100 run : firebase emulators:exec --only auth,database --project beste-firebase 'XDEBUG_MODE=coverage vendor/bin/phpunit --group=emulator --coverage-clover=coverage.xml --log-junit=test-report.xml'
101101
102- - name : Upload code coverage
103- uses : codecov/codecov-action@v5.5.2
102+ - name : Upload test results to Codecov
103+ if : ${{ !cancelled() }}
104+ uses : codecov/test-results-action@v1
104105 with :
105106 token : ${{ secrets.CODECOV_TOKEN }}
106107 flags : emulator
107- if : github.repository_owner == 'beste'
108+
109+ - name : Upload coverage to Codecov
110+ if : ${{ !cancelled() }}
111+ uses : codecov/codecov-action@v5
112+ with :
113+ token : ${{ secrets.CODECOV_TOKEN }}
114+ files : ./coverage.xml
115+ flags : emulator
116+ fail_ci_if_error : false
Original file line number Diff line number Diff line change 8383 XDEBUG_MODE : coverage
8484 run : vendor/bin/phpunit --testsuite=integration --coverage-clover=coverage.xml --log-junit=test-report.xml --testdox
8585
86- - name : Upload code coverage
87- uses : codecov/codecov-action@v5.5.2
86+ - name : Upload test results to Codecov
87+ if : ${{ !cancelled() }}
88+ uses : codecov/test-results-action@v1
8889 with :
8990 token : ${{ secrets.CODECOV_TOKEN }}
9091 flags : integration
91- if : github.repository_owner == 'beste'
92+
93+ - name : Upload coverage to Codecov
94+ if : ${{ !cancelled() }}
95+ uses : codecov/codecov-action@v5
96+ with :
97+ token : ${{ secrets.CODECOV_TOKEN }}
98+ files : ./coverage.xml
99+ flags : integration
100+ fail_ci_if_error : false
Original file line number Diff line number Diff line change 8686 - name : Run PHPUnit
8787 run : vendor/bin/phpunit --testsuite=unit --coverage-clover=coverage.xml --log-junit=test-report.xml --testdox
8888
89- - name : Upload code coverage
90- uses : codecov/codecov-action@v5.5.2
89+ - name : Upload test results to Codecov
90+ if : ${{ !cancelled() }}
91+ uses : codecov/test-results-action@v1
9192 with :
9293 token : ${{ secrets.CODECOV_TOKEN }}
9394 flags : unit
95+
96+ - name : Upload coverage to Codecov
97+ if : ${{ !cancelled() }}
98+ uses : codecov/codecov-action@v5
99+ with :
100+ token : ${{ secrets.CODECOV_TOKEN }}
101+ files : ./coverage.xml
102+ flags : unit
103+ fail_ci_if_error : false
You can’t perform that action at this time.
0 commit comments