Skip to content

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

Enable warnings as errors for weekly run in test suite

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

name: Test-suite with Python warnings as errors
on:
# Scheduled trigger every Sunday at 2:35am UTC
schedule:
- cron: '35 2 * * 0'
workflow_dispatch:
push:
branches:
- master
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
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

Check failure on line 28 in .github/workflows/package_warnings_as_errors.yml

View workflow run for this annotation

GitHub Actions / Test-suite with Python warnings as errors

Invalid workflow file

The workflow is not valid. In .github/workflows/package_warnings_as_errors.yml (Line: 28, Col: 11): Error from called workflow PennyLaneAI/pennylane/.github/workflows/interface-unit-tests.yml@28f28ee73398eefbab328acd6ccd797bc8770035 (Line: 98, Col: 5): Required property is missing: runs-on
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