Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@ name: Formatting check
on:
- pull_request

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
black-pylint:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.4.1
with:
access_token: ${{ github.token }}

- name: Set up Python
uses: actions/setup-python@v5
with:
Expand Down
14 changes: 4 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
- master
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
tests:
runs-on: ubuntu-latest
Expand All @@ -14,11 +18,6 @@ jobs:
python-version: ['3.12', '3.13', '3.14']

steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.4.1
with:
access_token: ${{ github.token }}

- uses: actions/checkout@v2

- name: Set up Python
Expand Down Expand Up @@ -56,11 +55,6 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.4.1
with:
access_token: ${{ github.token }}

- uses: actions/checkout@v2

- name: Set up Python
Expand Down
4 changes: 4 additions & 0 deletions tests/test_base_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,10 @@ def test_preprocess_splits_incompatible_primitive_measurements(self, measurement
# measurements that are incompatible are split when use_primtives=True
assert len(tapes) == num_types

@pytest.mark.xfail(
reason="Will be fix in https://github.com/PennyLaneAI/pennylane-qiskit/pull/717",
strict=True,
)
Comment thread
runora95 marked this conversation as resolved.
def test_preprocess_decomposes_unsupported_operator(self):
"""Test that the device preprocess decomposes operators that
aren't on the list of Qiskit-supported operators"""
Expand Down
Loading