Skip to content

Commit 616261a

Browse files
committed
feat: adds task endpoint for running tests (REFS #6)
1 parent df3f2f0 commit 616261a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Taskfile.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ tasks:
77
desc: builds a publishable docker image
88
cmds:
99
- docker build -t anomalyhq/python-lab-server-api:v{{.PROJ_VER} -f Dockerfile.api .
10+
dev:test:
11+
desc: runs tests inside the server container
12+
cmds:
13+
- docker compose exec api sh -c "pytest"
1014
dev:pyshell:
1115
desc: get a python session on the api container
1216
cmds:

0 commit comments

Comments
 (0)