File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 45
45
tornado : " 5.1.1"
46
46
- python : " 3.6"
47
47
- python : " 3.7"
48
+ controller_ip : " *"
48
49
- python : " 3.8"
49
50
mpi : true
50
51
- python : " 3.9"
59
60
~/conda
60
61
key : conda
61
62
63
+ - name : Set environment variables
64
+ if : matrix.controller_ip
65
+ run : |
66
+ echo "IPP_CONTROLLER_IP=${{ matrix.controller_ip }}" >> $GITHUB_ENV
67
+
62
68
- name : Install Python (conda) ${{ matrix.python }}
63
69
if : matrix.mpi
64
70
run : |
Original file line number Diff line number Diff line change @@ -68,6 +68,8 @@ def __str__(self):
68
68
'--ping=250' ,
69
69
'--dictdb' ,
70
70
]
71
+ if os .environ .get ("IPP_CONTROLLER_IP" ):
72
+ cp .cmd_and_args .append (f"--ip={ os .environ ['IPP_CONTROLLER_IP' ]} " )
71
73
cp .start ()
72
74
launchers .append (cp )
73
75
tic = time .time ()
You can’t perform that action at this time.
0 commit comments