Compare commits
2 commits
a2aa4e91a6
...
d2bdc5ed76
Author | SHA1 | Date | |
---|---|---|---|
d2bdc5ed76 | |||
36bf76eedf |
2 changed files with 13 additions and 0 deletions
12
Makefile
Normal file
12
Makefile
Normal 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
1
test.sh
Normal file → Executable file
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
python3 -m pytest test.py
|
||||
|
|
Loading…
Reference in a new issue