From 7b16490ccf3060778ee194b92f001cd665878508 Mon Sep 17 00:00:00 2001 From: Stephan Maximilian Huber Date: Sun, 4 Nov 2018 19:43:19 +0100 Subject: [PATCH] Another try to disable docker-tests for CI --- .gitlab-ci.yml | 2 +- tests/DockerExecShellProviderTest.php | 3 +++ tests/phpunit.xml | 4 ---- 3 files changed, 4 insertions(+), 5 deletions(-) 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 -