File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 type : string
1818 default : ' '
1919 test_script :
20- description : ' Path to test script under tools/ '
21- required : true
20+ description : " Temporary parameter for alpha-ops test "
21+ required : false
2222 type : string
23+ default : ' '
2324 changed_files :
2425 description : ' List of changed files in a PR'
2526 required : false
7576 run : |
7677 bash ${{ inputs.gpu_check_script }}
7778
78- - name : Run backend tests
79+ - name : Test alpha ops
80+ if : ${{ inputs.test_script != '' }}
7981 env :
8082 CHANGED_FILES : ${{ inputs.changed_files }}
8183 shell : bash
8284 run : |
83- bash ${{ inputs.test_script }} ${{ inputs.vendor }}
85+ bash ${{ inputs.test_script }} ${{ inputs.vendor }} ${{ inputs.pr_id }}
86+ - name : Run backend tests
87+ if : ${{ inputs.test_script == '' }}
88+ shell : bash
89+ env :
90+ CHANGED_FILES : ${{ inputs.changed_files }}
91+ run : |
92+ source .venv/bin/activate
93+ source tools/set-env.sh ${{ inputs.vendor }}
94+ tools/run_op.sh ${{ inputs.pr_id }}
You can’t perform that action at this time.
0 commit comments