1 ## Building containers
\r
9 ## Creating a local virtualenv (optional)
\r
12 python3.8 -m venv .venv && source .venv/bin/activate
\r
13 pip install -r requirements.txt
\r
17 ## Running the tests
\r
20 docker-compose up -d
\r
21 docker-compose run --rm --no-deps --entrypoint=pytest api /tests/unit /tests/integration
\r
23 pytest tests/integration
\r
27 ## Tear down containers
\r
30 docker-compose down --remove-orphans
\r