File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232 - name : Setup PHP
3333 uses : shivammathur/setup-php@v2
3434 with :
35- coverage : " none "
35+ coverage : " xdebug "
3636 php-version : " ${{ matrix.php }}"
3737 tools : composer
3838 # PHP 7.1 development web server segfaults if timezone not set.
6565
6666 - name : Run tests
6767 run : |
68- vendor/bin/phpunit -v
68+ vendor/bin/phpunit -v --coverage-clover=coverage.xml
69+
70+ - name : Upload coverage
71+ uses : codecov/codecov-action@v2
72+ with :
73+ files : coverage.xml
6974
7075 - name : Archive logs artifacts
7176 if : ${{ failure() }}
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ Mink Selenium2 (webdriver) Driver
55[ ![ Total Downloads] ( https://poser.pugx.org/behat/mink-selenium2-driver/downloads.svg )] ( https://packagist.org/packages/behat/mink-selenium2-driver )
66[ ![ CI] ( https://github.com/minkphp/MinkSelenium2Driver/actions/workflows/tests.yml/badge.svg )] ( https://github.com/minkphp/MinkSelenium2Driver/actions/workflows/tests.yml )
77[ ![ License] ( https://poser.pugx.org/behat/mink-selenium2-driver/license.svg )] ( https://packagist.org/packages/behat/mink-selenium2-driver )
8+ [ ![ codecov] ( https://codecov.io/gh/minkphp/MinkSelenium2Driver/branch/master/graph/badge.svg?token=x2Q2iM3XYz )] ( https://codecov.io/gh/minkphp/MinkSelenium2Driver )
89
910Usage Example
1011-------------
You can’t perform that action at this time.
0 commit comments