update readme with scripts
This commit is contained in:
parent
15a2b2777f
commit
f17c220cb1
3 changed files with 9 additions and 2 deletions
|
|
@ -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
7
test_abratest.sh
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
PWD_PATH=$PWD
|
||||
RECIPES_PATH=$PWD/recipes
|
||||
export PYTHONPATH=${PYTHONPATH}:$PWD_PATH:$RECIPES_PATH
|
||||
|
||||
pytest
|
||||
Loading…
Add table
Add a link
Reference in a new issue