Skip to content

Commit 7cc8fc3

Browse files
committed
Add pytest command to Makefile
- It assumes you're running a nerd_herder container via docker compose
1 parent e741b00 commit 7cc8fc3

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.dockerignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
.docker-data/
22
frontend/node_modules/
3+
**/__pycache__
4+
**/*.pyc

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,6 @@ restart: cmd:= restart $(name)
3838
logs: cmd:= logs -f
3939
exec: cmd:= exec $(name) $(c)
4040
black: cmd:= exec nerd_herder black -l 100 .
41+
pytest: cmd:= exec nerd_herder pytest .
4142
dcps: cmd:= ps
42-
build push up down start stop restart logs exec dcps black: docker_compose
43+
build push up down start stop restart logs exec dcps black pytest: docker_compose

0 commit comments

Comments
 (0)