Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .github/workflows/rocm-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# See LICENSE for license information.

name: Build and Test Branch
run-name: CI Level ${{ inputs.test_level || '1' }}
run-name: CI Level ${{ (github.event_name == 'push' && '3') || inputs.test_level || '1' }}

on:
push:
Expand Down Expand Up @@ -47,7 +47,7 @@ concurrency:

jobs:
build_and_test:
name: Build and Test on GPU (${{ matrix.runner }}) - Level ${{ inputs.test_level || '1' }}
name: Build and Test on GPU (${{ matrix.runner }}) - Level ${{ (github.event_name == 'push' && '3') || inputs.test_level || '1' }}
timeout-minutes: 720
runs-on: ${{ matrix.runner }}
strategy:
Expand Down Expand Up @@ -86,10 +86,8 @@ jobs:

# Only force Level 3 if this is a direct PUSH to dev or a release branch
if [[ "${{ github.event_name }}" == "push" ]]; then
if [[ "${{ github.ref_name }}" == "dev" || "${{ github.ref_name }}" =~ ^release_v.*_rocm$ ]]; then
echo "::notice::Push to monitored branch (${{ github.ref_name }}) detected. Forcing Level 3."
CALC_LEVEL="3"
fi
echo "::notice::Push to monitored branch (${{ github.ref_name }}) detected. Forcing Level 3."
CALC_LEVEL="3"
fi

echo "TEST_LEVEL=$CALC_LEVEL" >> $GITHUB_ENV
Expand Down
Loading