Skip to content

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

Enable warnings as errors for weekly run in test suite

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

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@7987a3cb00ed4c154c8f5ed652163cd8f15b0177 (Line: 285, Col: 31): Unexpected symbol: '"1"'. Located at position 45 within expression: needs.setup-ci-load.outputs.enable_split == "1" && format('--splits {0} --group {1}', '3', matrix.group) || format('--splits {0} --group {1}', '1', matrix.group) In .github/workflows/package_warnings_as_errors.yml (Line: 20, Col: 11): Error from called workflow PennyLaneAI/pennylane/.github/workflows/interface-unit-tests.yml@7987a3cb00ed4c154c8f5ed652163cd8f15b0177 (Line: 324, Col: 31): Unexpected symbol: '"1"'. Located at position 45 within expression: needs.setup-ci-load.outputs.enable_split == "1" && format('--splits {0} --group {1}', '5', matrix.group) || format('--splits {0} --group {1}', '1', matrix.group)
with:
branch: ${{ github.ref }}
skip_ci_test_jobs: 'qcut-tests'
python_warning_level: 'error'
pipeline_mode: 'warnings'