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

Enable warnings as errors for weekly run in test suite #6217

Merged
merged 102 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from 91 commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
0237e48
Enable warnings as errors globally in test suite
mlxd Sep 4, 2024
124c444
Ensure all warnings are errors in devices
mlxd Sep 4, 2024
65301db
Merge branch 'master' into tests/warning_as_error
mlxd Sep 9, 2024
261e6b1
Add nightly run warnings as errors tests
mlxd Sep 12, 2024
16d4f01
Merge branch 'master' into tests/warning_as_error
mlxd Sep 12, 2024
c7ecbe4
Update pennylane/devices/tests/pytest.ini
mlxd Sep 12, 2024
6c824a7
Update tests/pytest.ini
mlxd Sep 12, 2024
23a9765
Update CL
mlxd Sep 12, 2024
d7099d2
Merge branch 'tests/warning_as_error' of github.com:PennyLaneAI/penny…
mlxd Sep 12, 2024
85d6a4d
Required to false for python warning env var
mlxd Sep 12, 2024
55aa823
Remove pipeline from yml and add PR dispatch
mlxd Sep 12, 2024
ccdeef8
Readd error from warning to all CI runs
mlxd Sep 12, 2024
a904d48
Readd missing secrets
mlxd Sep 12, 2024
37fd0cf
Readd missing secrets again
mlxd Sep 12, 2024
07b1f6c
Readd missing secrets again
mlxd Sep 12, 2024
0dd65a7
Cancel CI [skip-ci]
mlxd Sep 12, 2024
13e31ba
Merge branch 'tests/warning_as_error' of github.com:PennyLaneAI/penny…
mlxd Sep 12, 2024
80292eb
Remove secrets
mlxd Sep 12, 2024
00a9e1c
Migrate location again
mlxd Sep 12, 2024
bb104c1
Disable fail-fast for runs
mlxd Sep 12, 2024
eccbf9a
Migate env-var to inline warning for pytest
mlxd Sep 13, 2024
09f5529
Merge branch 'master' into tests/warning_as_error
mlxd Sep 13, 2024
15417e8
Change warning capitalization
mlxd Sep 13, 2024
6ce1b72
Merge branch 'tests/warning_as_error' of github.com:PennyLaneAI/penny…
mlxd Sep 13, 2024
4591c1b
Once more with env var inclusion
mlxd Sep 13, 2024
872e267
reduce concurrent workers
mlxd Sep 13, 2024
0e70c30
Remove durations
mlxd Sep 13, 2024
a4d90e3
Remove splitting from warning CI
mlxd Sep 13, 2024
786e826
Fix GHA YML syntax error
mlxd Sep 13, 2024
212733f
Attempt to set strategy for sub-action
mlxd Sep 13, 2024
5a41914
Attempt to set strategy for sub-action again
mlxd Sep 13, 2024
0373a52
Move with branch in yaml
mlxd Sep 13, 2024
523235c
Make required item optional
mlxd Sep 13, 2024
07b51b7
Ignore import warnings due to external packages
mlxd Sep 13, 2024
749fa01
Add conditional splitting support when using WAE
mlxd Sep 13, 2024
80b483d
Add fromJson
mlxd Sep 13, 2024
a5de614
Try coerce GHA to accept the matrix values
mlxd Sep 13, 2024
2c0c8dc
Try coerce GHA to accept the matrix values again
mlxd Sep 13, 2024
5f197aa
Try coerce GHA to accept the matrix values again+1
mlxd Sep 13, 2024
124431c
Update .github/workflows/interface-unit-tests.yml
mlxd Sep 13, 2024
6c2ae74
Treat the conditional section as objects with fromJson
mlxd Sep 13, 2024
4adffd8
More coercing
mlxd Sep 13, 2024
144b321
Remove splits when not required
mlxd Sep 13, 2024
6eac2a2
Downgrade py versions
mlxd Sep 13, 2024
7ada97b
Add pandas to avoid import errors in WAE
mlxd Sep 13, 2024
67e79ec
Remove durations and ensure no lightened settings
mlxd Sep 13, 2024
9e1ced3
Ensure continue on collection errors
mlxd Sep 13, 2024
e7463f0
Update .github/workflows/interface-unit-tests.yml
mlxd Sep 13, 2024
d3d0529
Merge branch 'master' into tests/warning_as_error
mlxd Sep 13, 2024
95822bc
Update .github/workflows/interface-unit-tests.yml
mlxd Sep 13, 2024
a746721
Update .github/workflows/interface-unit-tests.yml
mlxd Sep 13, 2024
2d418d2
Update .github/workflows/package_warnings_as_errors.yml
mlxd Sep 13, 2024
ade9049
Update .github/workflows/package_warnings_as_errors.yml
mlxd Sep 13, 2024
9589c9f
Fix durations
mlxd Sep 13, 2024
6f68114
Always include split package
mlxd Sep 13, 2024
12d74b8
reformat string structure
mlxd Sep 13, 2024
b37ab75
Need more output
mlxd Sep 13, 2024
392ec4e
More formatting checks
mlxd Sep 13, 2024
79a80ec
Once more
mlxd Sep 13, 2024
896bca1
Add paren
mlxd Sep 13, 2024
a5bbfe9
JAXIT
mlxd Sep 13, 2024
e9a7c8b
More echo
mlxd Sep 13, 2024
ecc4383
More echo
mlxd Sep 13, 2024
3bf4428
TF group check
mlxd Sep 13, 2024
a44a8db
Multiple groupings
mlxd Sep 13, 2024
3258d2c
More darting with TF tests
mlxd Sep 13, 2024
33495fe
Enable debug logging
mlxd Sep 13, 2024
dd9a24b
Merge branch 'master' into tests/warning_as_error
mlxd Sep 13, 2024
33cbeb2
Enable debug logging+1
mlxd Sep 13, 2024
01df56b
Merge branch 'tests/warning_as_error' of github.com:PennyLaneAI/penny…
mlxd Sep 13, 2024
417b926
Merge branch 'master' into tests/warning_as_error
mlxd Oct 24, 2024
fe928a7
Fix merge errors
mlxd Oct 24, 2024
aff8399
Temp trigger WAE
mlxd Oct 24, 2024
c12b44c
Merge branch 'master' into tests/warning_as_error
mlxd Oct 24, 2024
5201483
Move warning config into pytest_additional_args
mlxd Oct 24, 2024
9691b81
Merge branch 'tests/warning_as_error' of github.com:PennyLaneAI/penny…
mlxd Oct 24, 2024
a70865b
Fix duplicate pytest filter
mlxd Oct 24, 2024
0fbff29
Cancel in progress disabled
mlxd Oct 24, 2024
fc3b52c
Attempt to add ff to matrix strategy
mlxd Oct 25, 2024
0f74ea2
Fix syntax error
mlxd Oct 25, 2024
3fb4868
+1
mlxd Oct 25, 2024
6534b52
Remove runs on attribute
mlxd Oct 25, 2024
dd9dc4c
Readd runner group
mlxd Oct 25, 2024
589adfb
Change boolean value to string
mlxd Oct 25, 2024
2a4451f
eval TF outside conditional
mlxd Oct 25, 2024
1483844
Remove bool string and use contains directly
mlxd Oct 25, 2024
de17cd7
Fix WAE steps
mlxd Oct 25, 2024
01180ec
+1
mlxd Oct 25, 2024
6e37430
Fail fast eval
mlxd Oct 25, 2024
debc1f9
Disable WAE on PRs [skip ci]]
mlxd Oct 25, 2024
79e8c01
Merge branch 'master' into tests/warning_as_error
mlxd Oct 25, 2024
1f36363
Merge branch 'master' into tests/warning_as_error
mlxd Oct 30, 2024
dcaa531
Update .github/workflows/interface-unit-tests.yml
mlxd Oct 30, 2024
6e70178
Simplify fail fast
mlxd Oct 30, 2024
f5b883c
Update .github/workflows/interface-unit-tests.yml
mlxd Nov 8, 2024
2773ab4
Update .github/workflows/interface-unit-tests.yml
mlxd Nov 8, 2024
36a1b67
Merge branch 'master' into tests/warning_as_error
mlxd Nov 8, 2024
eb82b1a
Merge branch 'master' into tests/warning_as_error
mlxd Nov 11, 2024
c0b1857
Merge branch 'master' into tests/warning_as_error
mlxd Nov 11, 2024
1e6a0eb
Fix failed merge
mlxd Nov 11, 2024
a509e9d
Fix broken strategies
mlxd Nov 11, 2024
ba46b7d
Merge branch 'master' into tests/warning_as_error
mlxd Nov 11, 2024
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
93 changes: 88 additions & 5 deletions .github/workflows/interface-unit-tests.yml
mlxd marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ on:
required: false
type: boolean
default: false
python_warning_level:
description: Sets the default Python warning level as defined by https://docs.python.org/3/using/cmdline.html#envvar-PYTHONWARNINGS
required: false
type: string
default: 'default'
env:
ACTIONS_RUNNER_DEBUG: true
ACTIONS_STEP_DEBUG: true

jobs:
determine_runner:
Expand All @@ -86,6 +94,34 @@ jobs:
default_runner: ubuntu-latest
force_large_runner: ${{ inputs.use_large_runner }}

disable-fail-fast-wae:
needs:
- determine_runner

runs-on: ${{ needs.determine_runner.outputs.runner_group }}
steps:
- name: Set fail-fast for WAE
id: mat_fail_fast
run: |
if [ "${{ contains(inputs.python_warning_level, 'default') }}" ];
then
cat >python_warning_level.json <<-EOF
{
"matrix-fail-fast": "default"
}
EOF
else
cat >python_warning_level.json <<-EOF
{
"matrix-fail-fast": "error"
}
EOF
fi
echo "fail_fast=$(jq -r tostring python_warning_level.json)" >> $GITHUB_OUTPUT
mlxd marked this conversation as resolved.
Show resolved Hide resolved

outputs:
matrix-fail-fast: ${{ steps.mat_fail_fast.outputs.fail_fast }}

setup-ci-load:
needs:
- determine_runner
Expand All @@ -106,6 +142,22 @@ jobs:
"default": ["3.10"]
}
EOF
elif [ "${{ inputs.python_warning_level }}" == "error" ];
then
cat >python_versions.json <<-EOF
{
"default": ["3.10"],
"torch-tests": ["3.10"],
"tf-tests": ["3.10"],
"jax-tests": ["3.10"],
"all-interfaces-tests": ["3.10"],
"external-libraries-tests": ["3.10"],
"qcut-tests": ["3.10"],
"qchem-tests": ["3.10"],
"gradients-tests": ["3.10"],
"data-tests": ["3.10"],
"device-tests": ["3.10"] }
mlxd marked this conversation as resolved.
Show resolved Hide resolved
EOF
mlxd marked this conversation as resolved.
Show resolved Hide resolved
else
cat >python_versions.json <<-EOF
{
Expand Down Expand Up @@ -219,7 +271,9 @@ jobs:
- setup-ci-load
- determine_runner
- default-dependency-versions
- disable-fail-fast-wae
strategy:
fail-fast: ${{ contains(fromJSON(needs.disable-fail-fast-wae.outputs.matrix-fail-fast), 'default') }}
mlxd marked this conversation as resolved.
Show resolved Hide resolved
max-parallel: >-
${{
fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).torch-tests
Expand All @@ -245,6 +299,7 @@ jobs:
additional_pip_packages_post: ${{ needs.default-dependency-versions.outputs.pennylane-lightning-latest }}
pytest_coverage_flags: ${{ inputs.pytest_coverage_flags }}
pytest_markers: torch and not qcut and not finite-diff and not param-shift
pytest_additional_args: -W ${{ inputs.python_warning_level }} ${{ inputs.python_warning_level != 'default' && '--continue-on-collection-errors' || '' }}
requirements_file: ${{ github.event_name == 'schedule' && strategy.job-index == 0 && 'torch.txt' || '' }}
disable_new_opmath: ${{ inputs.disable_new_opmath }}

Expand All @@ -254,7 +309,9 @@ jobs:
- setup-ci-load
- determine_runner
- default-dependency-versions
- disable-fail-fast-wae
strategy:
fail-fast: ${{ contains(fromJSON(needs.disable-fail-fast-wae.outputs.matrix-fail-fast), 'default') }}
max-parallel: >-
${{
fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).autograd-tests
Expand All @@ -278,6 +335,7 @@ jobs:
additional_pip_packages_post: ${{ needs.default-dependency-versions.outputs.pennylane-lightning-latest }}
pytest_coverage_flags: ${{ inputs.pytest_coverage_flags }}
pytest_markers: autograd and not qcut and not finite-diff and not param-shift
pytest_additional_args: -W ${{ inputs.python_warning_level }} ${{ inputs.python_warning_level != 'default' && '--continue-on-collection-errors' || '' }}
disable_new_opmath: ${{ inputs.disable_new_opmath }}


Expand All @@ -286,7 +344,9 @@ jobs:
- setup-ci-load
- determine_runner
- default-dependency-versions
- disable-fail-fast-wae
strategy:
fail-fast: ${{ contains(fromJSON(needs.disable-fail-fast-wae.outputs.matrix-fail-fast), 'default') }}
max-parallel: >-
${{
fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).tf-tests
Expand All @@ -313,18 +373,19 @@ jobs:
additional_pip_packages_post: ${{ needs.default-dependency-versions.outputs.pennylane-lightning-latest }}
pytest_coverage_flags: ${{ inputs.pytest_coverage_flags }}
pytest_markers: tf and not qcut and not finite-diff and not param-shift
pytest_additional_args: --splits 3 --group ${{ matrix.group }}
pytest_additional_args: --splits 3 --group ${{ matrix.group }} -W ${{ inputs.python_warning_level }} ${{ inputs.python_warning_level != 'default' && '--continue-on-collection-errors' || '' }}
pytest_durations_file_path: '.github/durations/tf_tests_durations.json'
requirements_file: ${{ github.event_name == 'schedule' && strategy.job-index == 0 && 'tf.txt' || '' }}
disable_new_opmath: ${{ inputs.disable_new_opmath }}


jax-tests:
needs:
- setup-ci-load
- determine_runner
- default-dependency-versions
- disable-fail-fast-wae
strategy:
fail-fast: ${{ contains(fromJSON(needs.disable-fail-fast-wae.outputs.matrix-fail-fast), 'default') }}
max-parallel: >-
${{
fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).jax-tests
Expand All @@ -351,7 +412,7 @@ jobs:
additional_pip_packages_post: ${{ needs.default-dependency-versions.outputs.pennylane-lightning-latest }}
pytest_coverage_flags: ${{ inputs.pytest_coverage_flags }}
pytest_markers: jax and not qcut and not finite-diff and not param-shift
pytest_additional_args: --dist=loadscope --splits 4 --group ${{ matrix.group }}
pytest_additional_args: --dist=loadscope --splits 4 --group ${{ matrix.group }} -W ${{ inputs.python_warning_level }} ${{ inputs.python_warning_level != 'default' && '--continue-on-collection-errors' || '' }}
pytest_durations_file_path: '.github/durations/jax_tests_durations.json'
requirements_file: ${{ github.event_name == 'schedule' && strategy.job-index == 0 && 'jax.txt' || '' }}
disable_new_opmath: ${{ inputs.disable_new_opmath }}
Expand All @@ -362,7 +423,9 @@ jobs:
- setup-ci-load
- determine_runner
- default-dependency-versions
- disable-fail-fast-wae
strategy:
fail-fast: ${{ contains(fromJSON(needs.disable-fail-fast-wae.outputs.matrix-fail-fast), 'default') }}
max-parallel: >-
${{
fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).core-tests
Expand All @@ -387,7 +450,7 @@ jobs:
additional_pip_packages_post: ${{ needs.default-dependency-versions.outputs.pennylane-lightning-latest }}
pytest_coverage_flags: ${{ inputs.pytest_coverage_flags }}
pytest_markers: core and not qcut and not finite-diff and not param-shift
pytest_additional_args: --splits 6 --group ${{ matrix.group }}
pytest_additional_args: --splits 6 --group ${{ matrix.group }} -W ${{ inputs.python_warning_level }} ${{ inputs.python_warning_level != 'default' && '--continue-on-collection-errors' || '' }}
pytest_durations_file_path: '.github/durations/core_tests_durations.json'
requirements_file: ${{ github.event_name == 'schedule' && strategy.job-index == 0 && 'core.txt' || '' }}
disable_new_opmath: ${{ inputs.disable_new_opmath }}
Expand All @@ -398,7 +461,9 @@ jobs:
- setup-ci-load
- determine_runner
- default-dependency-versions
- disable-fail-fast-wae
strategy:
fail-fast: ${{ contains(fromJSON(needs.disable-fail-fast-wae.outputs.matrix-fail-fast), 'default') }}
max-parallel: >-
${{
fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).all-interfaces-tests
Expand Down Expand Up @@ -426,6 +491,7 @@ jobs:
additional_pip_packages_post: ${{ needs.default-dependency-versions.outputs.pennylane-lightning-latest }}
pytest_coverage_flags: ${{ inputs.pytest_coverage_flags }}
pytest_markers: all_interfaces
pytest_additional_args: -W ${{ inputs.python_warning_level }} ${{ inputs.python_warning_level != 'default' && '--continue-on-collection-errors' || '' }}
requirements_file: ${{ github.event_name == 'schedule' && strategy.job-index == 0 && 'all_interfaces.txt' || '' }}
disable_new_opmath: ${{ inputs.disable_new_opmath }}

Expand All @@ -435,7 +501,9 @@ jobs:
- setup-ci-load
- determine_runner
- default-dependency-versions
- disable-fail-fast-wae
strategy:
fail-fast: ${{ contains(fromJSON(needs.disable-fail-fast-wae.outputs.matrix-fail-fast), 'default') }}
max-parallel: >-
${{
fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).external-libraries-tests
Expand All @@ -457,6 +525,7 @@ jobs:
python_version: ${{ matrix.python-version }}
pytest_coverage_flags: ${{ inputs.pytest_coverage_flags }}
pytest_markers: external
pytest_additional_args: -W ${{ inputs.python_warning_level }} ${{ inputs.python_warning_level != 'default' && '--continue-on-collection-errors' || '' }}
additional_pip_packages: |
pyzx matplotlib stim quimb mitiq pennylane-qiskit ply
${{ needs.default-dependency-versions.outputs.jax-version }}
Expand All @@ -479,7 +548,9 @@ jobs:
- setup-ci-load
- determine_runner
- default-dependency-versions
- disable-fail-fast-wae
strategy:
fail-fast: ${{ contains(fromJSON(needs.disable-fail-fast-wae.outputs.matrix-fail-fast), 'default') }}
max-parallel: >-
${{
fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).qcut-tests
Expand All @@ -501,6 +572,7 @@ jobs:
python_version: ${{ matrix.python-version }}
pytest_coverage_flags: ${{ inputs.pytest_coverage_flags }}
pytest_markers: qcut
pytest_additional_args: -W ${{ inputs.python_warning_level }} ${{ inputs.python_warning_level != 'default' && '--continue-on-collection-errors' || '' }}
additional_pip_packages: |
kahypar==1.1.7
opt_einsum
Expand All @@ -517,7 +589,9 @@ jobs:
- setup-ci-load
- determine_runner
- default-dependency-versions
- disable-fail-fast-wae
strategy:
fail-fast: ${{ contains(fromJSON(needs.disable-fail-fast-wae.outputs.matrix-fail-fast), 'default') }}
max-parallel: >-
${{
fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).qchem-tests
Expand All @@ -541,6 +615,7 @@ jobs:
additional_pip_packages_post: ${{ needs.default-dependency-versions.outputs.pennylane-lightning-latest }}
pytest_coverage_flags: ${{ inputs.pytest_coverage_flags }}
pytest_markers: qchem
pytest_additional_args: -W ${{ inputs.python_warning_level }} ${{ inputs.python_warning_level != 'default' && '--continue-on-collection-errors' || '' }}
additional_pip_packages: |
openfermionpyscf basis-set-exchange
${{ inputs.additional_python_packages }}
Expand All @@ -551,7 +626,9 @@ jobs:
- setup-ci-load
- determine_runner
- default-dependency-versions
- disable-fail-fast-wae
strategy:
fail-fast: ${{ contains(fromJSON(needs.disable-fail-fast-wae.outputs.matrix-fail-fast), 'default') }}
max-parallel: >-
${{
fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).gradients-tests
Expand Down Expand Up @@ -582,6 +659,7 @@ jobs:
additional_pip_packages_post: ${{ needs.default-dependency-versions.outputs.pennylane-lightning-latest }}
pytest_coverage_flags: ${{ inputs.pytest_coverage_flags }}
pytest_markers: ${{ matrix.config.suite }}
pytest_additional_args: -W ${{ inputs.python_warning_level }} ${{ inputs.python_warning_level != 'default' && '--continue-on-collection-errors' || '' }}
disable_new_opmath: ${{ inputs.disable_new_opmath }}


Expand All @@ -590,7 +668,9 @@ jobs:
- setup-ci-load
- determine_runner
- default-dependency-versions
- disable-fail-fast-wae
strategy:
fail-fast: ${{ contains(fromJSON(needs.disable-fail-fast-wae.outputs.matrix-fail-fast), 'default') }}
max-parallel: >-
${{
fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).data-tests
Expand All @@ -613,6 +693,7 @@ jobs:
additional_pip_packages_post: ${{ needs.default-dependency-versions.outputs.pennylane-lightning-latest }}
pytest_coverage_flags: ${{ inputs.pytest_coverage_flags }}
pytest_markers: data
pytest_additional_args: -W ${{ inputs.python_warning_level }} ${{ inputs.python_warning_level != 'default' && '--continue-on-collection-errors' || '' }}
additional_pip_packages: |
h5py
${{ inputs.additional_python_packages }}
Expand All @@ -624,7 +705,9 @@ jobs:
- setup-ci-load
- determine_runner
- default-dependency-versions
- disable-fail-fast-wae
strategy:
fail-fast: ${{ contains(fromJSON(needs.disable-fail-fast-wae.outputs.matrix-fail-fast), 'default') }}
max-parallel: >-
${{
fromJSON(needs.setup-ci-load.outputs.matrix-max-parallel).device-tests
Expand Down Expand Up @@ -659,7 +742,7 @@ jobs:
additional_pip_packages_post: ${{ needs.default-dependency-versions.outputs.pennylane-lightning-latest }}
pytest_test_directory: pennylane/devices/tests
pytest_coverage_flags: ${{ inputs.pytest_coverage_flags }}
pytest_additional_args: --device=${{ matrix.config.device }} --shots=${{ matrix.config.shots }}
pytest_additional_args: --device=${{ matrix.config.device }} --shots=${{ matrix.config.shots }} -W ${{ inputs.python_warning_level }} ${{ inputs.python_warning_level != 'default' && '--continue-on-collection-errors' || '' }}
disable_new_opmath: ${{ inputs.disable_new_opmath }}


Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/package_warnings_as_errors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Test-suite with Python warnings as errors
on:
# Scheduled trigger every Sunday at 2:35am UTC
schedule:
- cron: '35 2 * * 0'
workflow_dispatch:

concurrency:
group: warnings-as-errors-tests-${{ github.ref }}
cancel-in-progress: false

jobs:
test-warnings-as-errors:
strategy:
fail-fast: false
max-parallel: 1
secrets:
codecov_token: ${{ secrets.CODECOV_TOKEN }}
uses: ./.github/workflows/interface-unit-tests.yml
with:
branch: ${{ github.ref }}
python_warning_level: 'error'
run_lightened_ci: false
skip_ci_test_jobs: |
tf-tests
all-interfaces-tests
external-libraries-tests
qcut-tests
qchem-tests
gradients-tests
device-tests
2 changes: 2 additions & 0 deletions doc/releases/changelog-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,8 @@
[(#6244)](https://github.com/PennyLaneAI/pennylane/pull/6244)

<h3>Documentation 📝</h3>
* Add reporting of test warnings as failures.
[(#6217)](https://github.com/PennyLaneAI/pennylane/pull/6217)

* Updated `qml.spin` documentation.
[(#6387)](https://github.com/PennyLaneAI/pennylane/pull/6387)
Expand Down
1 change: 0 additions & 1 deletion pennylane/devices/tests/pytest.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
[pytest]
markers =
skip_unsupported: skip a test if it uses an operation unsupported on a device
addopts = --benchmark-disable
1 change: 1 addition & 0 deletions requirements-ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ matplotlib
requests
rich
tomli # Drop once minimum Python version is 3.11
pandas
Loading