Skip to content

DRAFT: Uses job name as part of ccache usage so each job has its own ccache #646

DRAFT: Uses job name as part of ccache usage so each job has its own ccache

DRAFT: Uses job name as part of ccache usage so each job has its own ccache #646

# 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'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
run-prs:
name: Call PR testing on schedule
if: ${{ (github.event_name == 'schedule' && github.repository == 'uxlfoundation/oneapi-construction-kit') || github.event_name == 'pull_request' }}
uses: ./.github/workflows/run_pr_tests.yml

Check failure on line 29 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: 29, Col: 11): Error from called workflow uxlfoundation/oneapi-construction-kit/.github/workflows/run_pr_tests.yml@7f9e0db14b8def5f0e6d1d1bc74568ba0dcb5116 (Line: 40, Col: 9): Unexpected end of expression: 'job'. Located at position 38 within expression: contains(inputs.test_enabled, github.job
with:
update_cache: true
#${{ github.event_name == 'schedule' }}
is_pull_request: ${{ github.event_name != 'schedule' }}
# additional ones here for cron and/or push to main - also can be in different file.