Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add compat workflows. #498

Merged
merged 40 commits into from
Sep 22, 2023
Merged

Add compat workflows. #498

merged 40 commits into from
Sep 22, 2023

Conversation

vincentmr
Copy link
Contributor

@vincentmr vincentmr commented Sep 11, 2023

Before submitting

Please complete the following checklist when submitting a PR:

  • All new features must include a unit test.
    If you've fixed a bug or added code that should be tested, add a test to the
    tests directory!

  • All new functions and code must be clearly commented and documented.
    If you do make documentation changes, make sure that the docs build and
    render correctly by running make docs.

  • Ensure that the test suite passes, by running make test.

  • Add a new entry to the .github/CHANGELOG.md file, summarizing the
    change, and including a link back to the PR.

  • Ensure that code is properly formatted by running make format.

When all the above are checked, delete everything above the dashed
line and fill in the pull request template.


Context:
SC-43411 requires compatibility tests between PennyLane and Lightning's most recent stable releases and development versions.

Description of the Change:
This PR adds compat-workflows calling the Linux and no-binary test workflows with lightning-version and pennylane-version inputs. These inputs are then used to switch between stable and latest versions.

Benefits:

Possible Drawbacks:

Related GitHub Issues:
PennyLaneAI/plugin-test-matrix#50

@codecov
Copy link

codecov bot commented Sep 14, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (460aa5e) 99.13% compared to head (e8062ee) 99.13%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #498   +/-   ##
=======================================
  Coverage   99.13%   99.13%           
=======================================
  Files         142      142           
  Lines       16798    16798           
=======================================
  Hits        16652    16652           
  Misses        146      146           
Files Changed Coverage Δ
pennylane_lightning/core/_version.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vincentmr vincentmr marked this pull request as ready for review September 14, 2023 16:22
@vincentmr vincentmr requested review from a team and rashidnhm September 14, 2023 16:22
Copy link
Member

@mlxd mlxd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few queries

.github/workflows/tests_linux.yml Outdated Show resolved Hide resolved
.github/workflows/tests_linux.yml Show resolved Hide resolved
@vincentmr vincentmr requested review from mlxd and a team September 20, 2023 00:11
Copy link
Member

@mlxd mlxd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @vincentmr

Copy link
Contributor

@AmintorDusko AmintorDusko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a small suggestion. Thank you for that.

.github/CHANGELOG.md Outdated Show resolved Hide resolved
@vincentmr vincentmr merged commit 17812fb into master Sep 22, 2023
@vincentmr vincentmr deleted the plugin-test-matrix branch September 22, 2023 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants