From 63a29e295ebc1160ef0e3b95eb7c3af595272545 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20Di=20Remigio=20Eik=C3=A5s?= Date: Wed, 27 Sep 2023 08:37:02 +0200 Subject: [PATCH] Skip no tests --- .github/workflows/deploy.yml | 5 +++++ pyproject.toml | 8 +------- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b14b3dc6f9..aef9d7e2bf 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -78,6 +78,11 @@ jobs: - uses: actions/checkout@v4 + - uses: actions-rs/toolchain@v1 + if: contains(matrix.only, fromJson('["ppc64le", "s390x"]')) + with: + toolchain: stable + - name: Set up QEMU if: runner.os == 'Linux' uses: docker/setup-qemu-action@v3 diff --git a/pyproject.toml b/pyproject.toml index c55056058d..5108ba1c9c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,13 +18,7 @@ manylinux-s390x-image = "manylinux_2_28" manylinux-ppc64le-image = "manylinux_2_28" manylinux-i686-image = "manylinux2014" skip = "pp* cp36* cp37* cp312* *musllinux*" -test-skip = "*-win32 *_i686 *-macosx_arm64" test-command = "python {project}/tools/verify_wheels.py" -# We need to use pre-built versions of Numpy and Scipy in the tests; they have a -# tendency to crash if they're installed from source by `pip install`, and since -# Numpy 1.22 there are no i686 wheels, so we force pip to use older ones without -# restricting any dependencies that Numpy and Scipy might have. -#before-test = "pip install --only-binary=numpy,scipy numpy scipy" environment = { AER_CMAKE_OPENMP_BUILD="1" } [tool.cibuildwheel.linux] @@ -35,7 +29,7 @@ environment = { CMAKE_GENERATOR = "Visual Studio 16 2019"} [[tool.cibuildwheel.overrides]] select = "*-manylinux_i686" -before-all = "yum install -y wget && bash {project}/tools/install_openblas_i686.sh" +before-all = "yum install -y wget && bash {project}/tools/install_openblas_i686.sh && bash {project}/tools/install_rust.sh" [[tool.cibuildwheel.overrides]] select = "*-manylinux_{ppc64le,s390x}"