Skip to content

Commit

Permalink
Another try to disable docker-tests for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
stmh committed Nov 4, 2018
1 parent 26ac83e commit 7b16490
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .


3 changes: 3 additions & 0 deletions tests/DockerExecShellProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ private function runDockerContainer($logger)
sleep(5);
}

/**
* @group docker
*/
public function testSimpleCommand()
{

Expand Down
4 changes: 0 additions & 4 deletions tests/phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
<testsuite name="tests">
<directory>.</directory>
</testsuite>
<testsuite name="ci">
<directory>.</directory>
<exclude>DockerExecShellProviderTest.php</exclude>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
Expand Down

0 comments on commit 7b16490

Please sign in to comment.