From b18281867bdbceb7a09b0d11141c195e0b461fb6 Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Thu, 5 Jul 2018 09:28:44 +0100 Subject: [PATCH] Add test for CIBW_TEST_COMMAND running in a shell on mac and linux --- test/02_test/environment.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/02_test/environment.json b/test/02_test/environment.json index a9b6ac2b..3a541dd4 100644 --- a/test/02_test/environment.json +++ b/test/02_test/environment.json @@ -1,4 +1,6 @@ { "CIBW_TEST_REQUIRES": "nose", - "CIBW_TEST_COMMAND": "nosetests {project}/test" + "CIBW_TEST_COMMAND": "false || nosetests {project}/test", + "comment": "The 'false ||' bit is to ensure this command runs in a shell on Mac and Linux", + "CIBW_TEST_COMMAND_WINDOWS": "nosetests {project}/test" }