File tree Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Original file line number Diff line number Diff line change @@ -163,6 +163,33 @@ jobs:
163163 cd /tmp
164164 grid2op.testinstall
165165
166+ legacy_lightsim_old_pp :
167+ executor : python38 # needs to be 38: whl of lightsim were not released for 3.10 at the time
168+ resource_class : small
169+ steps :
170+ - checkout
171+ - run :
172+ command : |
173+ apt-get update
174+ apt-get install -y coinor-cbc
175+ - run : python -m pip install virtualenv
176+ - run : python -m virtualenv venv_test
177+ - run :
178+ command : |
179+ source venv_test/bin/activate
180+ python -m pip install -U pip setuptools wheel
181+ python -m pip install -U lightsim2grid==0.5.3 gymnasium "numpy<1.22" "pandapower<2.14.9"
182+ - run :
183+ command : |
184+ source venv_test/bin/activate
185+ python -m pip install -e .
186+ pip freeze
187+ - run :
188+ command : |
189+ source venv_test/bin/activate
190+ export _GRID2OP_FORCE_TEST=1
191+ python -m unittest grid2op/tests/test_basic_env_ls.py
192+
166193 legacy_lightsim :
167194 executor : python38 # needs to be 38: whl of lightsim were not released for 3.10 at the time
168195 resource_class : small
@@ -178,7 +205,7 @@ jobs:
178205 command : |
179206 source venv_test/bin/activate
180207 python -m pip install -U pip setuptools wheel
181- python -m pip install -U lightsim2grid==0.5.3 gymnasium "numpy<1.22"
208+ python -m pip install -U lightsim2grid==0.6.0 gymnasium
182209 - run :
183210 command : |
184211 source venv_test/bin/activate
@@ -340,6 +367,7 @@ workflows:
340367 test :
341368 jobs :
342369 - test
370+ - legacy_lightsim_old_pp
343371 - legacy_lightsim
344372 install :
345373 jobs :
You can’t perform that action at this time.
0 commit comments