From d5d44cad7367e564a83560fa3a5a225696d92da1 Mon Sep 17 00:00:00 2001 From: Jordi Loyzaga Date: Mon, 22 Apr 2024 03:25:41 -0600 Subject: [PATCH] moving test runner to script --- .drone.yml | 2 +- scripts/run_tests.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100755 scripts/run_tests.sh diff --git a/.drone.yml b/.drone.yml index e200ac1..bdb1c83 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,7 +6,7 @@ steps: image: python commands: - pip install -r requirements_test.txt - - pytest --cov=. --cov-report term-missing + - ./scripts/run_tests.sh settings: username: diff --git a/scripts/run_tests.sh b/scripts/run_tests.sh new file mode 100755 index 0000000..05819f3 --- /dev/null +++ b/scripts/run_tests.sh @@ -0,0 +1,2 @@ +cd lockbox +pytest --cov=. --cov-report term-missing \ No newline at end of file