Add test script

This commit is contained in:
Jake Howard 2018-12-07 14:03:19 +00:00
parent 534d2a491e
commit 80788c95ca
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 10 additions and 2 deletions

View file

@ -10,5 +10,4 @@ jobs:
- run: python -m venv env
- run: env/bin/pip install -e .
- run: env/bin/pip install -r dev-requirements.txt
- run: env/bin/python setup.py test
- run: env/bin/black tests ipc_unix
- run: ./scripts/test.sh

9
scripts/test.sh Executable file
View file

@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -e
export PATH=env/bin:${PATH}
python setup.py test
black tests ipc_unix