|
@@ -10,12 +10,12 @@ and labels) that the reporter service creates.
|
10
|
10
|
## Tests [![CircleCI](https://circleci.com/gh/csmith/docker-service-reporter-lib.svg?style=svg)](https://circleci.com/gh/csmith/docker-service-reporter-lib)
|
11
|
11
|
|
12
|
12
|
A separate Dockerfile for tests is located in the tests directory. It depends
|
13
|
|
-on a 'dev' label of csmith/service-reporter-lib. You can build and run the
|
14
|
|
-tests like so:
|
|
13
|
+on a 'dev' label of csmith/service-reporter-lib. There's a docker compose file
|
|
14
|
+to build them together:
|
15
|
15
|
|
16
|
16
|
```
|
17
|
|
-docker build -t csmith/service-reporter-lib:dev .
|
18
|
|
-docker build -t csmith/service-reporter-lib-test:dev test
|
19
|
|
-docker run --rm -it csmith/service-reporter-lib-test:dev
|
|
17
|
+cd test
|
|
18
|
+docker-compose build
|
|
19
|
+docker-compose run tests
|
20
|
20
|
```
|
21
|
21
|
|