From 2adaefef47b3d37604dd5384d099695584405cf3 Mon Sep 17 00:00:00 2001 From: laggykiller Date: Tue, 27 Feb 2024 02:11:22 +0800 Subject: [PATCH] Fix build --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e0e7a85..4a628c8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -87,9 +87,8 @@ jobs: CIBW_ARCHS_MACOS: ${{ matrix.cibw_archs_macos }} CIBW_ARCHS_LINUX: ${{ matrix.cibw_archs_linux }} CIBW_TEST_REQUIRES: pytest + CIBW_BEFORE_TEST: pip install --only-binary ":all:" Pillow; true CIBW_BEFORE_TEST_WINDOWS: pip install --only-binary ":all:" Pillow || VER>NUL - CIBW_BEFORE_TEST_MACOS: pip install --only-binary ":all:" Pillow 2>/dev/null - CIBW_BEFORE_TEST_LINUX: pip install --only-binary ":all:" Pillow 2>/dev/null CIBW_TEST_COMMAND: pytest {package}/tests CIBW_TEST_SKIP: "*-win32" # If enable stubgen (pyproject.toml), then requires mypy which depends on typed-ast