-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathjustfile
23 lines (18 loc) · 879 Bytes
/
justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
format:
black .
unit:
docker build -f docker/clutch.df -t clutch-test .
docker run --rm --entrypoint "/bin/sh" clutch-test -c "mypy .; pytest tests/unit"
end-to-end:
docker-compose -f ./docker/docker-compose.yml up -d --force-recreate --no-deps --build testbed transmission
docker-compose -f ./docker/docker-compose.yml run --rm start_dependencies
docker-compose -f ./docker/docker-compose.yml run --rm testbed sh -c "pytest tests/endtoend"
integration-shell:
docker-compose -f ./docker/docker-compose.yml up -d --force-recreate --no-deps --build testbed transmission
docker-compose -f ./docker/docker-compose.yml run --rm start_dependencies
docker-compose -f ./docker/docker-compose.yml run --rm testbed sh -c "python -i client_setup.py"
clean-containers:
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
docs:
sphinx-autogen docs/index.rst -o docs/