diff --git a/.github/workflows/rocm-ci.yml b/.github/workflows/rocm-ci.yml index a52d42b17..c85f1bed2 100644 --- a/.github/workflows/rocm-ci.yml +++ b/.github/workflows/rocm-ci.yml @@ -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: @@ -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: @@ -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