diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml index b29e54961b..096c1d91b0 100644 --- a/.github/workflows/publish_pypi.yml +++ b/.github/workflows/publish_pypi.yml @@ -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 @@ -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