update readme with scripts

This commit is contained in:
Daniel 2023-12-06 01:53:44 +01:00
parent 15a2b2777f
commit f17c220cb1
3 changed files with 9 additions and 2 deletions

View file

@ -41,8 +41,8 @@ pytest # test abratest
```bash
docker compose build # build the image
docker compose run --rm app python ./main.py # run AbraTest
docker compose run --rm app pytest # test AbraTest
docker compose run --rm app ./run_abratest.sh # run AbraTest
docker compose run --rm app ./test_abratest.sh # test AbraTest
```
Force rebuild with cache

7
test_abratest.sh Normal file
View file

@ -0,0 +1,7 @@
#!/bin/bash
PWD_PATH=$PWD
RECIPES_PATH=$PWD/recipes
export PYTHONPATH=${PYTHONPATH}:$PWD_PATH:$RECIPES_PATH
pytest