Skip to content

Commit

Permalink
Rename and repurpose build-test-a770.yml to be used on any GPU / runn…
Browse files Browse the repository at this point in the history
…er (#2220)

Make runner_label, skip_list required, use runner_label in run_name by
default.

Fixes #2218.
  • Loading branch information
pbchekin authored Sep 12, 2024
1 parent 90f5ab0 commit 2d58f1f
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: Build and test A770
name: Build and test GPU
run-name: ${{ inputs.run_name }}

on:
workflow_dispatch:
inputs:
runner_label:
description: Runner label, keep empty for default
description: Runner label or GPU
type: string
default: ""
required: true
pytorch_ref:
description: PyTorch ref, keep empty for default
type: string
Expand All @@ -23,11 +23,11 @@ on:
skip_list:
description: Skip list
type: string
default: ""
required: true
run_name:
description: Custom run name
type: string
default: "Build and test A770"
default: ""
enable_unskip:
description: Ignore pytest.skip
type: boolean
Expand All @@ -43,12 +43,12 @@ jobs:
python: ["3.9"]
uses: ./.github/workflows/build-test-reusable.yml
with:
device: a770
device: ${{ inputs.runner_label }}
runner_label: ${{ inputs.runner_label }}
pytorch_ref: ${{ inputs.pytorch_ref }}
python_version: ${{ matrix.python }}
upload_test_reports: ${{ inputs.upload_test_reports }}
ignore_errors: ${{ inputs.ignore_errors }}
skip_list: ${{ inputs.skip_list || 'a770' }}
run_name: ${{ inputs.run_name }}
skip_list: ${{ inputs.skip_list }}
run_name: ${{ inputs.run_name || format('Build and test {}', inputs.runner_label) }}
enable_unskip: ${{ inputs.enable_unskip }}

0 comments on commit 2d58f1f

Please sign in to comment.