Skip to content

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

Enable warnings as errors for weekly run in test suite

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

name: Test-suite with Python warnings as errors
on:
# Scheduled trigger every Sunday at 2:35am UTC
schedule:
- cron: '35 2 * * 0'
workflow_dispatch:
pull_request:
concurrency:
group: warnings-as-errors-tests-${{ github.ref }}
cancel-in-progress: true
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 20 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: 20, Col: 11): Error from called workflow PennyLaneAI/pennylane/.github/workflows/interface-unit-tests.yml@7aaf687a103f9057afcacd8c4a7502920a39f1bc (Line: 264, Col: 16): Unexpected symbol: '"'. Located at position 60 within expression: fromJSON(needs.setup-ci-load.outputs.enable_split) == 1 && "[1, 2, 3]" || "[1]" In .github/workflows/package_warnings_as_errors.yml (Line: 20, Col: 11): Error from called workflow PennyLaneAI/pennylane/.github/workflows/interface-unit-tests.yml@7aaf687a103f9057afcacd8c4a7502920a39f1bc (Line: 264, Col: 16): Unexpected value '${{ fromJSON(needs.setup-ci-load.outputs.enable_split) == 1 && "[1, 2, 3]" || "[1]" }}'
with:
branch: ${{ github.ref }}
skip_ci_test_jobs: 'qcut-tests'
python_warning_level: 'error'
pipeline_mode: 'warnings'