Skip to content

Commit c74aa4c

Browse files
committed
chore: all os are back, fixed test parameters
1 parent f0f50a7 commit c74aa4c

2 files changed

Lines changed: 9 additions & 33 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 8 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,16 @@ jobs:
5757
runs-on: ${{ matrix.runs-on }}
5858
strategy:
5959
matrix:
60-
# os: [ linux-intel, linux-arm, macos-arm, windows-intel, windows-arm]
61-
os: [ windows-intel, windows-arm]
60+
os: [ linux-intel, linux-arm, macos-arm, windows-intel, windows-arm]
6261
include:
6362
- archs: native
6463
platform: auto
65-
# - os: linux-intel
66-
# runs-on: ubuntu-latest
67-
# - os: linux-arm
68-
# runs-on: ubuntu-24.04-arm
69-
# - os: macos-arm
70-
# runs-on: macos-latest
64+
- os: linux-intel
65+
runs-on: ubuntu-latest
66+
- os: linux-arm
67+
runs-on: ubuntu-24.04-arm
68+
- os: macos-arm
69+
runs-on: macos-latest
7170
- os: windows-intel
7271
runs-on: windows-latest
7372
- os: windows-arm
@@ -114,7 +113,6 @@ jobs:
114113
CIBW="true"
115114
SKBUILD_BUILD_TOOL_ARGS="-j4;-l5"
116115
# set deployment target for C++20 compatibility
117-
# make brew-installed OpenMP discoverable by CMake
118116
# do not activate architecture-dependent compiler flags
119117
# 4 jobs in parallel, but do not start new ones if load average exceeds 5
120118
CIBW_ENVIRONMENT_MACOS: >
@@ -159,26 +157,4 @@ jobs:
159157
uses: actions/upload-artifact@v6
160158
with:
161159
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
162-
path: wheelhouse/*.whl
163-
164-
# upload_all:
165-
# name: Upload if release
166-
# needs:
167-
# - build_wheels
168-
# - build_sdist
169-
# environment: pypi
170-
# permissions:
171-
# id-token: write
172-
# runs-on: ubuntu-latest
173-
# #if: github.event_name == 'release' && github.event.action == 'published'
174-
175-
# steps:
176-
# - uses: actions/download-artifact@v4
177-
# with:
178-
# pattern: cibw-*
179-
# path: dist
180-
# merge-multiple: true
181-
182-
# - uses: pypa/gh-action-pypi-publish@release/v1
183-
# with:
184-
# repository-url: https://test.pypi.org/legacy/
160+
path: wheelhouse/*.whl

tests/test_pauli_string.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def test_pauli_string_invalid_pauli_string_input(invalid_pauli_string):
2323
pe.PauliString(invalid_pauli_string, 1.0)
2424

2525

26-
@pytest.mark.parametrize(("pauli_string1", "pauli_string2", "expected_product"), [
26+
@pytest.mark.parametrize(("pauli_string", "other", "expected_product"), [
2727
(pe.PauliString({0: "X", 1: "Z", 2: "Y", 3: "Z"}, 1.0),
2828
pe.PauliString({0: "Z", 1: "Z", 4: "X"}, 2.0),
2929
pe.PauliString({0: "Y", 2: "Y", 3: "Y"}, 2.0)), # XZYZ * ZZIX = YIYY

0 commit comments

Comments
 (0)