diff --git a/src/pybamm/config.py b/src/pybamm/config.py index 865dd0a4dd..d3f4ab70a2 100644 --- a/src/pybamm/config.py +++ b/src/pybamm/config.py @@ -28,7 +28,7 @@ def is_running_tests(): # pragma: no cover "CIRCLECI", "JENKINS_URL", "GITLAB_CI", - "CIBW_ENVIRONMENT", + "CIBW_TEST_COMMAND", ] if any(var in os.environ for var in ci_env_vars): return True