Skip to content
Merged
Show file tree
Hide file tree
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
19 changes: 15 additions & 4 deletions .github/workflows/backend-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ on:
type: string
default: ''
test_script:
description: 'Path to test script under tools/'
required: true
description: "Temporary parameter for alpha-ops test"
required: false
type: string
default: ''
changed_files:
description: 'List of changed files in a PR'
required: false
Expand Down Expand Up @@ -75,9 +76,19 @@ jobs:
run: |
bash ${{ inputs.gpu_check_script }}

- name: Run backend tests
- name: Test alpha ops
if: ${{ inputs.test_script != '' }}
env:
CHANGED_FILES: ${{ inputs.changed_files }}
shell: bash
run: |
bash ${{ inputs.test_script }} ${{ inputs.vendor }}
bash ${{ inputs.test_script }} ${{ inputs.vendor }} ${{ inputs.pr_id }}
- name: Run backend tests
if: ${{ inputs.test_script == '' }}
shell: bash
env:
CHANGED_FILES: ${{ inputs.changed_files }}
run: |
source .venv/bin/activate
source tools/set-env.sh ${{ inputs.vendor }}
tools/run_op.sh ${{ inputs.pr_id }}
Loading
Loading