File tree Expand file tree Collapse file tree 3 files changed +42
-8
lines changed
Expand file tree Collapse file tree 3 files changed +42
-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/codecov-action@v5
104105 with :
105106 token : ${{ secrets.CODECOV_TOKEN }}
106107 flags : emulator
107- if : github.repository_owner == 'beste'
108+ report_type : test_results
109+ fail_ci_if_error : false
110+
111+ - name : Upload coverage to Codecov
112+ if : ${{ !cancelled() }}
113+ uses : codecov/codecov-action@v5
114+ with :
115+ token : ${{ secrets.CODECOV_TOKEN }}
116+ files : ./coverage.xml
117+ flags : emulator
118+ 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/codecov-action@v5
8889 with :
8990 token : ${{ secrets.CODECOV_TOKEN }}
9091 flags : integration
91- if : github.repository_owner == 'beste'
92+ report_type : test_results
93+ fail_ci_if_error : false
94+
95+ - name : Upload coverage to Codecov
96+ if : ${{ !cancelled() }}
97+ uses : codecov/codecov-action@v5
98+ with :
99+ token : ${{ secrets.CODECOV_TOKEN }}
100+ files : ./coverage.xml
101+ flags : integration
102+ 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/codecov-action@v5
9192 with :
9293 token : ${{ secrets.CODECOV_TOKEN }}
9394 flags : unit
95+ report_type : test_results
96+ fail_ci_if_error : false
97+
98+ - name : Upload coverage to Codecov
99+ if : ${{ !cancelled() }}
100+ uses : codecov/codecov-action@v5
101+ with :
102+ token : ${{ secrets.CODECOV_TOKEN }}
103+ files : ./coverage.xml
104+ flags : unit
105+ fail_ci_if_error : false
You can’t perform that action at this time.
0 commit comments