Skip to content

Commit

Permalink
pybamm-team#3558 try to initialise IDAKLU solver instead of just impo…
Browse files Browse the repository at this point in the history
…rting it
  • Loading branch information
agriyakhetarpal committed Dec 1, 2023
1 parent b260113 commit 5df9f8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
bash scripts/install_sundials.sh 6.0.3 6.5.0
CIBW_BEFORE_BUILD_LINUX: python -m pip install cmake casadi setuptools wheel
CIBW_REPAIR_WHEEL_COMMAND_LINUX: auditwheel repair -w {dest_dir} {wheel}
CIBW_TEST_COMMAND: python -c "import pybamm; print(pybamm.have_idaklu())" | grep True
CIBW_TEST_COMMAND: python -c "import pybamm; pybamm.IDAKLUSolver()"

- name: Build wheels on macOS
if: matrix.os == 'macos-latest'
Expand All @@ -124,7 +124,7 @@ jobs:
python -m pip install --upgrade cmake casadi setuptools wheel &&
scripts/fix_suitesparse_rpath_mac.sh
CIBW_REPAIR_WHEEL_COMMAND_MACOS: delocate-listdeps {wheel} && delocate-wheel -v -w {dest_dir} {wheel}
CIBW_TEST_COMMAND: python -c "import pybamm; print(pybamm.have_idaklu())" | grep True
CIBW_TEST_COMMAND: python -c "import pybamm; pybamm.IDAKLUSolver()"

- name: Upload wheels
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 5df9f8a

Please sign in to comment.