Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Commit

Permalink
move docker test script
Browse files Browse the repository at this point in the history
  • Loading branch information
nekufa committed Oct 7, 2019
1 parent 57b06ca commit 46dbe85
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ RUN curl -sS https://getcomposer.org/installer | php
RUN mv composer.phar /usr/local/bin/composer
RUN chmod +x /usr/local/bin/composer
RUN composer install
ENTRYPOINT ["./vendor/phpunit/phpunit/phpunit"]
ENTRYPOINT ["./vendor/phpunit/phpunit/phpunit", "--colors=always"]
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,6 @@ $span->end(); // pass status as an optional argument
# Testing
To make sure the tests in this repo work as you expect, you can use the included docker test wrapper:

1.) Make sure that you have docker installed
2.) Execute `script/dockertest` from your bash compatible shell. You should see the test output like so
1.) Make sure that you have docker installed
2.) Execute `./resources/test-using-docker` from your bash compatible shell.
You should see the test output like so
3 changes: 3 additions & 0 deletions resources/test-using-docker
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
docker build . -t opentelemetry-php-docker-tests
docker run -it opentelemetry-php-docker-tests
3 changes: 0 additions & 3 deletions script/dockertest

This file was deleted.

0 comments on commit 46dbe85

Please sign in to comment.