File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 strategy :
1515 fail-fast : false
1616 matrix :
17- python-version : ["3.10", "3. 11"]
17+ python-version : ["3.11"]
1818
1919 steps :
2020 - uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ def run_transferable_script(project_root):
4343 ]
4444
4545 def runner (extra_args ):
46+ env = os .environ .copy ()
47+ env ["ORBFORMER_PICKLE_LOADING" ] = "1"
4648 result = subprocess .run (
4749 [
4850 "python" ,
@@ -52,7 +54,7 @@ def runner(extra_args):
5254 ],
5355 cwd = project_root ,
5456 capture_output = True ,
55- env = { "ORBFORMER_PICKLE_LOADING" : "1" } ,
57+ env = env ,
5658 )
5759 if result .returncode != 0 :
5860 raise OneQMCProcessError (result .stderr .decode ())
@@ -82,6 +84,8 @@ def run_density_script(project_root):
8284 ]
8385
8486 def runner (extra_args ):
87+ env = os .environ .copy ()
88+ env ["ORBFORMER_PICKLE_LOADING" ] = "1"
8589 result = subprocess .run (
8690 [
8791 "python" ,
@@ -91,7 +95,7 @@ def runner(extra_args):
9195 ],
9296 cwd = project_root ,
9397 capture_output = True ,
94- env = { "ORBFORMER_PICKLE_LOADING" : "1" } ,
98+ env = env ,
9599 )
96100 if result .returncode != 0 :
97101 raise OneQMCProcessError (result .stderr .decode ())
You can’t perform that action at this time.
0 commit comments