mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-11 14:24:03 +02:00
Add command to print pytest with colors in Docker (#473)
This commit is contained in:
parent
87af937f41
commit
a523cccb04
1 changed files with 6 additions and 0 deletions
|
|
@ -9,6 +9,12 @@ To run the tests using the Docker image, navigate to the `adaptive-lighting` rep
|
|||
docker run -v $(pwd):/app basnijholt/adaptive-lighting:latest
|
||||
```
|
||||
|
||||
and to show the logs with colors use:
|
||||
|
||||
```bash
|
||||
docker run -v $(pwd):/app -e 'PYTEST_ADDOPTS="--color=yes"' basnijholt/adaptive-lighting:latest
|
||||
```
|
||||
|
||||
This command will download the Docker image from [the adaptive-lighting Docker Hub repo]((https://hub.docker.com/r/basnijholt/adaptive-lighting)) and run the tests.
|
||||
|
||||
If you prefer to build the image yourself, use the following command:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue