Skip to content

Commit

Permalink
pybamm-team#3558 improve test wheel command quotes + indents
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Nov 27, 2023
1 parent e5eff7a commit 26a97b7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/publish_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,8 @@ jobs:
env:
CIBW_ENVIRONMENT: 'PYBAMM_USE_VCPKG=ON VCPKG_ROOT_DIR=C:\vcpkg VCPKG_DEFAULT_TRIPLET=x64-windows-static-md VCPKG_FEATURE_FLAGS=manifests,registries CMAKE_GENERATOR="Visual Studio 17 2022" CMAKE_GENERATOR_PLATFORM=x64'
CIBW_ARCHS: "AMD64"
CIBW_BEFORE_BUILD: >
python -m pip install --upgrade setuptools wheel
CIBW_TEST_COMMAND: "python -c 'import pybamm; print(pybamm.have_idaklu())' | findstr 'True'"
CIBW_BEFORE_BUILD: python -m pip install setuptools wheel
CIBW_TEST_COMMAND: python -c 'import pybamm; print(pybamm.have_idaklu())' | grep 'True'

- name: Upload Windows wheels
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -113,7 +112,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; print(pybamm.have_idaklu())' | grep 'True'
CIBW_SKIP: "pp* *musllinux*"

- name: Upload wheels
Expand Down

0 comments on commit 26a97b7

Please sign in to comment.