Compare commits

...

2 commits

Author SHA1 Message Date
d2bdc5ed76 👷 add makefile for common tasks 2023-09-16 23:47:22 +02:00
36bf76eedf make test.sh executable 2023-09-16 23:29:41 +02:00
2 changed files with 13 additions and 0 deletions

12
Makefile Normal file
View file

@ -0,0 +1,12 @@
server:
docker compose up
test:
docker compose up -d
docker cp test_cases entities_validation_svc-entities_validation_service-1:test_cases
docker exec entities_validation_svc-entities_validation_service-1 ./test.sh
docker compose down
clean:
docker compose down
docker image rm entities_validation_svc-entities_validation_service

1
test.sh Normal file → Executable file
View file

@ -1,3 +1,4 @@
#!/bin/sh
python3 -m pytest test.py