From 1ac69016f15845b811f737de25aa3ad4d6eeb4f8 Mon Sep 17 00:00:00 2001 From: Thomas VINCENT Date: Thu, 17 Oct 2024 11:57:58 +0200 Subject: [PATCH 1/2] Use macos-13 in release workflow --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d9b83bd1..21ffac5c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: cibw_archs: "auto64" #- os: windows-2019 # cibw_archs: "auto32" - - os: macos-11 + - os: macos-13 cibw_archs: "universal2" steps: From ed83a48abef3ff63b514388c93c6739cca475143 Mon Sep 17 00:00:00 2001 From: Thomas VINCENT Date: Thu, 17 Oct 2024 13:38:07 +0200 Subject: [PATCH 2/2] fix installation of test env --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 21ffac5c..4437d816 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,7 +52,8 @@ jobs: # Use silx wheelhouse: needed for ppc64le CIBW_ENVIRONMENT_LINUX: "PIP_FIND_LINKS=https://www.silx.org/pub/wheelhouse/ PIP_TRUSTED_HOST=www.silx.org" - CIBW_TEST_REQUIRES: pytest + CIBW_BEFORE_TEST: "pip install --only-binary :all: fabio PyQt5" + CIBW_TEST_EXTRAS: full CIBW_TEST_COMMAND: pytest {project}/test # Skip tests for 32bits and emulated architectures, arm64 macos and on Windows CIBW_TEST_SKIP: "*-*linux_i686 *-*linux_{aarch64,ppc64le,s390x} *-macosx_arm64 *-macosx_universal2:arm64 *-win32 *-win_amd64" @@ -87,7 +88,7 @@ jobs: - name: Install and test sdist run: | - pip install dist/imaged11*.tar.gz + pip install "$(ls dist/imaged11*.tar.gz)[full]" pytest test - uses: actions/upload-artifact@v4