amazon-braket-pennylane-plugin-python icon indicating copy to clipboard operation
amazon-braket-pennylane-plugin-python copied to clipboard

infra: add PL device testing using a stable PL version

Open AbeCoull opened this issue 1 year ago • 3 comments

Issue #, if available:

Description of changes: Tests the latest Braket code against the latest release of PennyLane. Includes a tox env for better local testing.

Testing done: tox -e pennylane-device-tests

Merge Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.

General

  • [ ] I have read the CONTRIBUTING doc
  • [ ] I used the commit message format described in CONTRIBUTING
  • [ ] I have updated any necessary documentation, including READMEs and API docs (if appropriate)

Tests

  • [ ] I have added tests that prove my fix is effective or that my feature works (if appropriate)
  • [ ] I have checked that my tests are not configured for a specific region or account (if appropriate)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AbeCoull avatar May 31 '24 21:05 AbeCoull

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (043a332) to head (67cb7c6). Report is 21 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #264   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            7         7           
  Lines         1242      1242           
  Branches       305       305           
=========================================
  Hits          1242      1242           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar May 31 '24 21:05 codecov[bot]

Build is expected to fail until https://github.com/amazon-braket/amazon-braket-pennylane-plugin-python/issues/253 is resolved

AbeCoull avatar Jun 03 '24 19:06 AbeCoull

Is there a way to add this as a tox target so we can run the device tests locally?

@speller26, added tox -e pennylane-device-tests

AbeCoull avatar Jun 07 '24 17:06 AbeCoull