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:
57
57
- 'CoverageContext'
58
58
- 'Behat\MinkExtension\Context\MinkContext'
59
59
- '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) => {
12
12
`composer require --dev --no-update 'phpunit/php-code-coverage:^5.2.2'` ,
13
13
'composer update --prefer-dist --no-progress --no-suggest --ansi' ,
14
14
'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' ,
16
16
'phpdbg -qrr $(which phpcov) merge --clover build/logs/clover.xml build/cov;' ,
17
17
'coveralls -v' ,
18
18
] ;
@@ -25,11 +25,11 @@ const coverage = (event, project) => {
25
25
26
26
const gh = JSON . parse ( event . payload ) ;
27
27
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 ;
30
30
} 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 ] ;
33
33
}
34
34
35
35
job . run ( ) ;
You can’t perform that action at this time.
0 commit comments