Skip to content
Open

test fix #20547

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
7 changes: 7 additions & 0 deletions .github/workflows/_test_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ on:
description: 'JSON array of flows to test'
required: true
type: string
matrix-exclude:
description: 'JSON array of {flow, suite} combos to exclude from the matrix'
required: false
type: string
default: '[]'
ref:
description: 'Git ref to checkout'
required: false
Expand Down Expand Up @@ -50,6 +55,7 @@ jobs:
matrix:
flow: ${{ fromJSON(inputs.flows) }}
suite: [models, operators]
exclude: ${{ fromJSON(inputs.matrix-exclude) }}

uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
with:
Expand Down Expand Up @@ -126,6 +132,7 @@ jobs:
matrix:
flow: ${{ fromJSON(inputs.flows) }}
suite: [models, operators]
exclude: ${{ fromJSON(inputs.matrix-exclude) }}

uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-backend-coreml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ jobs:
${{ github.event_name == 'pull_request'
&& '["coreml"]'
|| '["coreml", "coreml_static_int8"]' }}
# Run coreml_static_int8 for the operators suite only; skip it for
# the models suite (still covered by the coreml flow).
matrix-exclude: '[{"flow": "coreml_static_int8", "suite": "models"}]'
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
timeout: 180
run-macos: true
Loading