Skip to content

Commit

Permalink
Added group parameter when running code cov tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioBertolinSG committed Nov 2, 2017
1 parent 219a476 commit f9500dc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/drone/test-coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,11 @@ fi
./occ app:enable federation
./occ app:enable federatedfilesharing

if [[ "${DB_TYPE}" == "none" ]]; then
GROUP="--exclude-group DB"
else
GROUP="--group DB"
fi

exec phpdbg -d memory_limit=4096M -rr ./lib/composer/bin/phpunit --configuration tests/phpunit-autotest.xml ${GROUP} --coverage-clover tests/autotest-clover-${DB_TYPE}.xml

0 comments on commit f9500dc

Please sign in to comment.