File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6464
6565 - name : Run tests with codeception with code coverage with shell bash.
6666 if : matrix.os == 'ubuntu-latest'
67- run : vendor/bin/codecept run
67+ run : vendor/bin/codecept run --coverage --coverage-xml --disable-coverage-php
6868
6969 - name : Run tests with codeception with code coverage with shell powershell.
7070 if : matrix.os == 'windows-latest'
7171 run : vendor/bin/codecept run
7272 shell : powershell
73+
74+ - name : Upload coverage to Codecov.
75+ if : matrix.os == 'ubuntu-latest'
76+ uses : codecov/codecov-action@v4
77+ with :
78+ token : ${{ secrets.CODECOV_TOKEN }}
79+ files : runtime/tests/_output/coverage.xml
Original file line number Diff line number Diff line change 99[ ![ Latest Stable Version] ( https://poser.pugx.org/yiisoft/app-api/v )] ( https://packagist.org/packages/yiisoft/app-api )
1010[ ![ Total Downloads] ( https://poser.pugx.org/yiisoft/app-api/downloads )] ( https://packagist.org/packages/yiisoft/app-api )
1111[ ![ build] ( https://github.com/yiisoft/app-api/actions/workflows/build.yml/badge.svg )] ( https://github.com/yiisoft/app-api/actions/workflows/build.yml )
12- [ ![ codecov ] ( https://codecov.io/gh/yiisoft/app-api/graph/badge.svg?token=8XE1MPAZD4 )] ( https://codecov.io/gh/yiisoft/app-api )
12+ [ ![ Code Coverage ] ( https://codecov.io/gh/yiisoft/app-api/branch/master/ graph/badge.svg )] ( https://codecov.io/gh/yiisoft/app-api )
1313[ ![ static analysis] ( https://github.com/yiisoft/app-api/workflows/static%20analysis/badge.svg )] ( https://github.com/yiisoft/app-api/actions?query=workflow%3A%22static+analysis%22 )
1414
1515API application template for Yii 3.
You can’t perform that action at this time.
0 commit comments