File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed
Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on : [push]
4+
5+ jobs :
6+ build-test :
7+ runs-on : ubuntu-latest
8+
9+ steps :
10+ - uses : actions/checkout@v2
11+ - uses : php-actions/composer@v5
12+ - uses : php-actions/composer@dynamic-docker
13+
14+ - name : PHPUnit Tests
15+ uses : php-actions/phpunit@dynamic-docker
16+ with :
17+ bootstrap : vendor/autoload.php
18+ configuration : tests/phpunit.xml
19+ args : --coverage-text
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" ?>
2+ <phpunit colors =" true" >
3+ <testsuites >
4+ <testsuite name =" main" >
5+ <directory suffix =" Test.php" >.</directory >
6+ </testsuite >
7+ </testsuites >
8+
9+ <filter >
10+ <whitelist >
11+ <directory suffix =" .php" >../src</directory >
12+ </whitelist >
13+ </filter >
14+ </phpunit >
You can’t perform that action at this time.
0 commit comments