Skip to content

Commit

Permalink
Merge pull request #90 from PennyLaneAI/qubit-device-patch
Browse files Browse the repository at this point in the history
Ignore specific deprecation warnings in stable-latest tests
  • Loading branch information
mudit2812 authored Oct 1, 2024
2 parents c33be6d + ea28c40 commit 8705cad
Show file tree
Hide file tree
Showing 15 changed files with 57 additions and 16 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/aqt-latest-latest.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion .github/workflows/aqt-stable-latest.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .github/workflows/braket-latest-latest.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .github/workflows/braket-stable-latest.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion .github/workflows/cirq-latest-latest.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion .github/workflows/cirq-stable-latest.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion .github/workflows/ionq-latest-latest.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion .github/workflows/ionq-stable-latest.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion .github/workflows/qiskit-latest-latest.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions .github/workflows/qiskit-stable-latest.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion .github/workflows/qulacs-latest-latest.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion .github/workflows/qulacs-stable-latest.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion .github/workflows/rigetti-latest-latest.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion .github/workflows/rigetti-stable-latest.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion workflow-template-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,9 @@ jobs:
{%- endfor %}
- name: Run plugin tests
run: python -m pytest plugin_repo/{{ tests_loc }}{% if no_deprecation_error %}{% else %} -W "error::pennylane.PennyLaneDeprecationWarning"{% endif %} --tb=short {%- for kwarg in test_kwargs %} {{ kwarg }} {%- endfor %}
run: |
python -m pytest plugin_repo/{{ tests_loc }} --tb=short {%- for kwarg in test_kwargs %} {{ kwarg }}{%- endfor %}{% if no_deprecation_error %}{% else %} \
-W "error::pennylane.PennyLaneDeprecationWarning"{% endif %}{% if latest or no_deprecation_error %}{% else %} \
-W "ignore:QubitDevice:pennylane.PennyLaneDeprecationWarning" \
-W "ignore:QubitStateVector:pennylane.PennyLaneDeprecationWarning"{% endif %}

0 comments on commit 8705cad

Please sign in to comment.