Add instructions on how to run tests in Docker
This commit is contained in:
parent
3965e1a390
commit
593584154d
1 changed files with 10 additions and 0 deletions
|
@ -75,6 +75,16 @@ $ & .venv\Scripts\Activate.ps1
|
|||
(.venv) $ tox
|
||||
```
|
||||
|
||||
If you prefer to run the tests in an isolated container using Docker, you can
|
||||
do so with the following:
|
||||
|
||||
```
|
||||
docker run -it --rm -v "${PWD}:/dotbot" -w /dotbot python:3.10-alpine /bin/sh
|
||||
```
|
||||
|
||||
After spawning the container, follow the same instructions as above (create a
|
||||
virtualenv, ..., run the tests).
|
||||
|
||||
---
|
||||
|
||||
If you have any questions about anything, feel free to [ask][email]!
|
||||
|
|
Loading…
Reference in a new issue