File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -57,3 +57,5 @@ coverage:
5757 - 'CoverageContext'
5858 - 'Behat\MinkExtension\Context\MinkContext'
5959 - 'Behatch\Context\RestContext'
60+ filters:
61+ tags: ~@postgres
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const coverage = (event, project) => {
1212 `composer require --dev --no-update 'phpunit/php-code-coverage:^5.2.2'` ,
1313 'composer update --prefer-dist --no-progress --no-suggest --ansi' ,
1414 'phpdbg -qrr vendor/bin/phpunit --coverage-php build/cov/coverage-phpunit.cov' ,
15- `for f in $(find features -name '*.feature'); do FEATURE=\${f//\\//_} phpdbg -qrr vendor/bin/behat --format=progress --profile coverage $f || exit $?; done` ,
15+ ' phpdbg -qrr vendor/bin/behat --profile=coverage --suite=default --format=progress' ,
1616 'phpdbg -qrr $(which phpcov) merge --clover build/logs/clover.xml build/cov;' ,
1717 'coveralls -v' ,
1818 ] ;
@@ -25,11 +25,11 @@ const coverage = (event, project) => {
2525
2626 const gh = JSON . parse ( event . payload ) ;
2727 if ( gh . pull_request ) {
28- job . env . CI_PULL_REQUEST = gh . pull_request . number . toString ( ) ;
29- job . env . CI_BRANCH = gh . pull_request . base . ref ;
28+ job . env . CI_PULL_REQUEST = gh . pull_request . number . toString ( ) ;
29+ job . env . CI_BRANCH = gh . pull_request . base . ref ;
3030 } else if ( gh . ref ) {
31- const parts = gh . ref . split ( '/' ) ;
32- job . env . CI_BRANCH = parts [ parts . length - 1 ] ;
31+ const parts = gh . ref . split ( '/' ) ;
32+ job . env . CI_BRANCH = parts [ parts . length - 1 ] ;
3333 }
3434
3535 job . run ( ) ;
You can’t perform that action at this time.
0 commit comments