From 80788c95caa473a4886fc0e03d2d47ebf86de977 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 7 Dec 2018 14:03:19 +0000 Subject: [PATCH] Add test script --- .circleci/config.yml | 3 +-- scripts/test.sh | 9 +++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100755 scripts/test.sh diff --git a/.circleci/config.yml b/.circleci/config.yml index f1fbc10..2cfb225 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 diff --git a/scripts/test.sh b/scripts/test.sh new file mode 100755 index 0000000..1296d24 --- /dev/null +++ b/scripts/test.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +set -e + +export PATH=env/bin:${PATH} + +python setup.py test + +black tests ipc_unix