aboutsummaryrefslogtreecommitdiff
path: root/Regression/prepare_file_ci.py
diff options
context:
space:
mode:
Diffstat (limited to 'Regression/prepare_file_ci.py')
-rw-r--r--Regression/prepare_file_ci.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Regression/prepare_file_ci.py b/Regression/prepare_file_ci.py
index 46c9bf8b1..03accd185 100644
--- a/Regression/prepare_file_ci.py
+++ b/Regression/prepare_file_ci.py
@@ -5,13 +5,14 @@
#
# License: BSD-3-Clause-LBNL
+import os
# This script modifies `WarpX-test.ini` (which is used for nightly builds)
# and creates the file `ci-test.ini` (which is used for continous
# integration)
# The subtests that are selected are controlled by WARPX_TEST_DIM
# The architecture (CPU/GPU) is selected by WARPX_TEST_ARCH
import re
-import os
+
# Get relevant environment variables
arch = os.environ.get('WARPX_TEST_ARCH', 'CPU')