diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a83e6fc0..dd3ba11d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,6 +14,6 @@ runTests:
- docker
stage: test
script:
- - cd tests; ../vendor/bin/phpunit --test-suite=ci .
+ - cd tests; ../vendor/bin/phpunit --exclude-group docker .
diff --git a/tests/DockerExecShellProviderTest.php b/tests/DockerExecShellProviderTest.php
index 294f79f9..0a13cf36 100644
--- a/tests/DockerExecShellProviderTest.php
+++ b/tests/DockerExecShellProviderTest.php
@@ -78,6 +78,9 @@ private function runDockerContainer($logger)
sleep(5);
}
+ /**
+ * @group docker
+ */
public function testSimpleCommand()
{
diff --git a/tests/phpunit.xml b/tests/phpunit.xml
index c5fdc984..1bbcf681 100644
--- a/tests/phpunit.xml
+++ b/tests/phpunit.xml
@@ -3,10 +3,6 @@
.
-
- .
- DockerExecShellProviderTest.php
-