diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f90aad66b..faae92991 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -112,7 +112,7 @@ unit_tests: - php tests/console doctrine:migrations:migrate -n --env=test - php -d memory_limit=2G tests/console cache:clear --env=test - php -d memory_limit=3G tests/console doctrine:fixtures:load -n - - php -d memory_limit=4G bin/phpunit --colors=never + - php -d memory_limit=4G bin/phpunit --colors=never --exclude-group dbIntensive artifacts: expire_in: 30 min paths: diff --git a/src/Bundle/ChillMainBundle/Test/Export/AbstractAggregatorTest.php b/src/Bundle/ChillMainBundle/Test/Export/AbstractAggregatorTest.php index f056adc92..346ed7a3a 100644 --- a/src/Bundle/ChillMainBundle/Test/Export/AbstractAggregatorTest.php +++ b/src/Bundle/ChillMainBundle/Test/Export/AbstractAggregatorTest.php @@ -197,6 +197,7 @@ abstract class AbstractAggregatorTest extends KernelTestCase /** * @return void * @dataProvider dataProviderQueryExecution + * @group dbIntensive */ public function testQueryExecution(QueryBuilder $qb, array $data): void { diff --git a/src/Bundle/ChillMainBundle/Test/Export/AbstractFilterTest.php b/src/Bundle/ChillMainBundle/Test/Export/AbstractFilterTest.php index 54740db82..14442212f 100644 --- a/src/Bundle/ChillMainBundle/Test/Export/AbstractFilterTest.php +++ b/src/Bundle/ChillMainBundle/Test/Export/AbstractFilterTest.php @@ -159,7 +159,7 @@ abstract class AbstractFilterTest extends KernelTestCase * test the alteration of query by the filter. * * @dataProvider dataProviderAlterQuery - * + * @group dbIntensive */ public function testAlterQuery(QueryBuilder $query, array $data) {