File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,18 +29,10 @@ jobs:
2929 uses : shivammathur/setup-php@v2
3030 with :
3131 php-version : ${{ matrix.php-version }}
32- coverage : pcov
3332
3433 - name : Install dependencies
3534 run : COMPOSER_MEMORY_LIMIT=-1 composer install --dev --no-interaction
3635
3736 - name : Run tests
3837 run : |
39- mkdir -p build/logs
40- php vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover build/logs/clover.xml
41-
42- - name : Upload coverage
43- run : |
44- composer global require php-coveralls/php-coveralls
45- php-coveralls --coverage_clover=build/logs/clover.xml
46- continue-on-error : true
38+ php vendor/bin/phpunit
Original file line number Diff line number Diff line change 33[ ![ Version] ( https://img.shields.io/packagist/v/codefog/tags-bundle )] ( https://packagist.org/packages/codefog/tags-bundle )
44[ ![ License] ( https://img.shields.io/github/license/codefog/tags-bundle )] ( https://github.com/codefog/tags-bundle/blob/master/LICENSE.txt )
55[ ![ Downloads] ( https://img.shields.io/packagist/dm/codefog/tags-bundle )] ( https://packagist.org/packages/codefog/tags-bundle )
6- [ ![ Coverage Status] ( https://coveralls.io/repos/github/codefog/tags-bundle/badge.svg?branch=master )] ( https://coveralls.io/github/codefog/tags-bundle?branch=master )
76
87Tags Bundle is an extension for the [ Contao Open Source CMS] ( https://contao.org ) .
98
Original file line number Diff line number Diff line change 5454 }
5555 },
5656 "scripts" : {
57- "unit-tests" : " @php vendor/bin/phpunit --no-coverage "
57+ "unit-tests" : " @php vendor/bin/phpunit"
5858 }
5959}
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd" colors =" true" bootstrap =" tests/bootstrap.php" >
3- <coverage >
4- <include >
5- <directory >./src</directory >
6- </include >
7- <exclude >
8- <file >./src/Finder/SourceFinder.php</file >
9- <file >./src/Finder/TagFinder.php</file >
10- <directory >./src/EventListener/DataContainer</directory >
11- <directory >./src/Model</directory >
12- <directory >./src/Resources</directory >
13- <directory >./src/Widget</directory >
14- </exclude >
15- <report >
16- <clover outputFile =" build/logs/clover.xml" />
17- </report >
18- </coverage >
193 <php >
204 <ini name =" error_reporting" value =" -1" />
215 <ini name =" display_errors" value =" 1" />
Original file line number Diff line number Diff line change 66
77use Contao \DC_Table ;
88
9- /**
10- * @codeCoverageIgnore
11- */
129class Driver extends DC_Table
1310{
1411 /**
Original file line number Diff line number Diff line change 66
77use Contao \Model ;
88
9- /**
10- * @codeCoverageIgnore
11- */
129class TagModel extends Model
1310{
1411 /**
Original file line number Diff line number Diff line change 1010use Contao \System ;
1111use Contao \Widget ;
1212
13- /**
14- * @codeCoverageIgnore
15- */
1613class TagsWidget extends Widget
1714{
1815 /**
You can’t perform that action at this time.
0 commit comments