@@ -245,14 +245,13 @@ jobs:
245245
246246 test_powermodels :
247247 executor : python312
248- resource_class : medium+
248+ resource_class : medium # install_julia step killed w/small
249249 steps :
250250 - checkout
251251 - run :
252252 command : |
253253 sudo apt-get update
254254 sudo apt-get install -y coinor-cbc
255- curl --version
256255 - run : python -m pip install virtualenv
257256 - run : python -m virtualenv venv_test
258257 - run :
@@ -271,14 +270,24 @@ jobs:
271270 python -m pip install julia
272271 python ./utils/install_pycall.py
273272 - run :
273+ name : Environment information
274274 command : |
275275 source venv_test/bin/activate
276- export _GRID2OP_FORCE_TEST=1
277276 which python julia python-jl
278- python -c "import grid2op as gr;print(gr.__file__, gr.__version__)"
277+ pip list
278+ julia -e 'using Pkg; Pkg.status()'
279+ - run :
280+ name : Test PowerModels in Julia
281+ command : |
282+ source venv_test/bin/activate
283+ julia -e 'using PyCall; math = pyimport("math"); print(math.sin(math.pi/4))'
284+ julia -e 'using Pkg; Pkg.test("PowerModels")'
285+ - run :
286+ name : Test PowerModels in PandaPower
287+ command : |
288+ source venv_test/bin/activate
279289 python-jl venv_test/lib/python3.12/site-packages/pandapower/test/opf/test_pandamodels_runpm.py
280- # python -m unittest grid2op/tests/fromChronix2grid.py
281- # python-jl CONDA_PREFIX/lib/python3.12/site-packages/pandapower/test/opf/test_pandamodels_runpm.py
290+ python venv_test/lib/python3.12/site-packages/pandapower/test/opf/test_pandamodels_runpm.py
282291
283292 install39 :
284293 executor : python39
0 commit comments