Skip to content

Commit 64cc7d4

Browse files
committed
try 16
1 parent 6adf251 commit 64cc7d4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.circleci/config.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,8 @@ jobs:
272272
./utils/install_julia.sh 1.10.4
273273
python -m pip install julia
274274
python ./utils/install_pycall.py
275-
julia -e 'using Pkg; Pkg.add([Pkg.PackageSpec(;name="Ipopt"), Pkg.PackageSpec(;name="PowerModels", version="0.21.3"), Pkg.PackageSpec(;name="PyCall"), Pkg.PackageSpec(;url="https://github.com/loriab/PandaModels.jl", rev="update_pm")])'
275+
#julia -e 'using Pkg; Pkg.add([Pkg.PackageSpec(;name="Ipopt"), Pkg.PackageSpec(;name="PowerModels", version="0.21.3"), Pkg.PackageSpec(;name="PyCall"), Pkg.PackageSpec(;url="https://github.com/loriab/PandaModels.jl", rev="update_pm")])'
276+
julia -e 'using Pkg; Pkg.add("Ipopt", "PowerModels", "PyCall")'
276277
- run:
277278
name: Environment information
278279
command: |
@@ -290,13 +291,14 @@ jobs:
290291
command: |
291292
source venv_test/bin/activate
292293
julia -e 'using PyCall; math = pyimport("math"); print(math.sin(math.pi/4))'
293-
#julia -e 'using Pkg; Pkg.test("PowerModels")'
294+
julia -e 'using Pkg; Pkg.test("PowerModels")'
295+
#; test_args=["input"])'
294296
- run:
295297
name: Test PowerModels in PandaPower
296298
command: |
297299
source venv_test/bin/activate
298-
python-jl venv_test/lib/python3.12/site-packages/pandapower/test/opf/test_pandamodels_runpm.py
299300
python venv_test/lib/python3.12/site-packages/pandapower/test/opf/test_pandamodels_runpm.py
301+
# use python-jl instead of python above if get a static libpython error
300302
301303
install39:
302304
executor: python39

0 commit comments

Comments
 (0)