Skip to content

Reduce PR testing overheads #46

Reduce PR testing overheads

Reduce PR testing overheads #46

# Calling workflow for running PR style tests
name: Run ock tests for PR style testing
on:
pull_request:
paths:
- 'source/**'
- 'clik/**'
- 'modules/**'
- 'examples/**'
- 'cmake/**'
- 'hal/**'
- '.github/actions/do_build_ock/**'
- '.github/actions/setup_build/**'
- '.github/workflows/run_pr_tests.yml'
- '.github/workflows/run_pr_tests_caller.yml'
- 'CMakeLists.txt'
schedule:
# Run Mon-Fri at 7pm
- cron: '00 19 * * 1-5'
jobs:
run-with-pull:
name: Call PR testing on pull request
if: ${{ github.event_name == 'pull_request' }}
uses: ./.github/workflows/run_pr_tests.yml

Check failure on line 25 in .github/workflows/run_pr_tests_caller.yml

View workflow run for this annotation

GitHub Actions / Run ock tests for PR style testing

Invalid workflow file

The workflow is not valid. In .github/workflows/run_pr_tests_caller.yml (Line: 25, Col: 11): Error from called workflow uxlfoundation/oneapi-construction-kit/.github/workflows/run_pr_tests.yml@c442a0abbfb1c6f4d6b2f20d6c31673f6f06c47d (Line: 174, Col: 37): Unrecognized named-value: 'ON'. Located at position 41 within expression: inputs.enable_full_unitcl_vecz_check && ON || OFF In .github/workflows/run_pr_tests_caller.yml (Line: 25, Col: 11): Error from called workflow uxlfoundation/oneapi-construction-kit/.github/workflows/run_pr_tests.yml@c442a0abbfb1c6f4d6b2f20d6c31673f6f06c47d (Line: 175, Col: 42): Unrecognized named-value: 'ON'. Located at position 36 within expression: inputs.enable_full_unitcl_check && ON || OFF
with:
update_cache: false
enable_full_unitcl_vecz_check: false
enable_full_unitcl_riscv_vecz_check: false
enable_full_unitcl_check: false
# Could have multiple here
run-with-cron:
name: Call PR testing on schedule
if: ${{ github.event_name == 'schedule' }}
uses: ./.github/workflows/run_pr_tests.yml
with:
update_cache: true
enable_full_unitcl_vecz_check: true
enable_full_unitcl_riscv_vecz_check: true
enable_full_unitcl_check: true
# additional ones here for cron and/or push to main - also can be in different file.