From 4b2df1626063c02db8257ff65aafb03fcfe91711 Mon Sep 17 00:00:00 2001 From: Matthew Brett Date: Fri, 10 Nov 2023 17:49:32 +0000 Subject: [PATCH] Another refactor --- .github/workflows/build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.sh b/.github/workflows/build.sh index 58680b0..4ed87ca 100755 --- a/.github/workflows/build.sh +++ b/.github/workflows/build.sh @@ -16,13 +16,14 @@ fi echo "::group::Install a virtualenv" source multibuild/common_utils.sh source multibuild/travis_steps.sh - python3 -m pip install virtualenv + python3 -m pip install virtualenv tomli + export BUILD_DEPENDS=$(python3 ./print_deps.py ${MB_PYTHON_VERSION} ${REPO_DIR}) + export TEST_DEPENDS=$(python3 ./print_deps.py ${MB_PYTHON_VERSION} ${REPO_DIR} -p test) before_install echo "::endgroup::" echo "::group::Build wheel" export WHEEL_SDIR=wheelhouse - python -m pip install tomli export BUILD_DEPENDS=$(python ./print_deps.py ${MB_PYTHON_VERSION} ${REPO_DIR}) clean_code build_wheel @@ -32,7 +33,6 @@ echo "::endgroup::" if [[ $PLAT != "arm64" ]]; then # arm will not install on Github Workflows x86 architecture. echo "::group::Test wheel" - export TEST_DEPENDS=$($PYTHON_EXE ./print_deps.py ${MB_PYTHON_VERSION} ${REPO_DIR} -p test) install_run echo "::endgroup::" fi