Skip to content

Commit db604b8

Browse files
authored
Fix inductor-tests-reusable workflow name
1 parent 32c9be1 commit db604b8

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

.github/workflows/inductor-tests-reusable.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
name: Pytorch inductor tests
1+
name: Pytorch inductor tests reusable
22

33
on:
4-
workflow_dispatch:
4+
workflow_call:
55
inputs:
66
pytorch_ref:
77
description: PyTorch ref, keep empty for default

.github/workflows/inductor-tests.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,24 @@ on:
2020
description: Runner label, keep empty for default
2121
type: string
2222
default: ""
23+
pytorch_repo:
24+
description: PyTorch repo
25+
type: string
26+
default: "pytorch/pytorch"
27+
python_version:
28+
description: Python version
29+
type: string
30+
default: "3.9"
2331

2432
permissions: read-all
2533

26-
env:
27-
PYTHON_VERSION: "3.9"
28-
PYTORCH_REPO: pytorch/pytorch
29-
3034
jobs:
3135
run_tests:
3236
name: Run inductor tests
3337
uses: ./.github/workflows/inductor-tests-reusable.yml
3438
with:
35-
pytorch_repo: ${{ env.PYTORCH_REPO }}
36-
python_version: ${{ env.PYTHON_VERSION }}
39+
pytorch_repo: ${{ inputs.pytorch_repo }}
40+
python_version: ${{ inputs.python_version }}
3741
runner_label: ${{ inputs.runner_label }}
3842
suite: ${{ inputs.suite }}
3943
pytorch_ref: ${{ inputs.pytorch_ref }}

0 commit comments

Comments
 (0)