Skip to content

Commit d6b3bc4

Browse files
authored
ci: exclude Markdown from GPU test path filters (NVIDIA#2151)
Signed-off-by: Yuan Chen <yuanchen97@gmail.com>
1 parent 9198f36 commit d6b3bc4

3 files changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/gpu-h100-inference-test.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
id: filter
5151
with:
5252
base: main
53+
predicate-quantifier: 'some-with-excludes'
5354
filters: |
5455
matched:
5556
- '.github/workflows/gpu-h100-inference-test.yaml'
@@ -110,6 +111,10 @@ jobs:
110111
- 'pkg/collector/**'
111112
- 'pkg/snapshotter/**'
112113
- '.github/actions/gpu-snapshot-validate/**'
114+
# Markdown/MDX under the runtime globs is documentation — never a
115+
# reason to launch a GPU job (#2149). Requires some-with-excludes.
116+
- '!**/*.[mM][dD]'
117+
- '!**/*.[mM][dD][xX]'
113118
114119
# NVIDIA self-hosted GPU runners reject pull_request event jobs before
115120
# checkout. PR GPU coverage runs through the pull-request/<number> push

.github/workflows/gpu-h100-training-test.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
id: filter
5151
with:
5252
base: main
53+
predicate-quantifier: 'some-with-excludes'
5354
filters: |
5455
matched:
5556
- '.github/workflows/gpu-h100-training-test.yaml'
@@ -106,6 +107,10 @@ jobs:
106107
- 'pkg/collector/**'
107108
- 'pkg/snapshotter/**'
108109
- '.github/actions/gpu-snapshot-validate/**'
110+
# Markdown/MDX under the runtime globs is documentation — never a
111+
# reason to launch a GPU job (#2149). Requires some-with-excludes.
112+
- '!**/*.[mM][dD]'
113+
- '!**/*.[mM][dD][xX]'
109114
110115
# NVIDIA self-hosted GPU runners reject pull_request event jobs before
111116
# checkout. PR GPU coverage runs through the pull-request/<number> push

.github/workflows/gpu-smoke-test.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
id: filter
4545
with:
4646
base: main
47+
predicate-quantifier: 'some-with-excludes'
4748
filters: |
4849
matched:
4950
- '.github/workflows/gpu-smoke-test.yaml'
@@ -73,6 +74,10 @@ jobs:
7374
- 'vendor/**'
7475
- 'pkg/defaults/timeouts.go'
7576
- 'validators/conformance/**'
77+
# Markdown/MDX under the runtime globs is documentation — never a
78+
# reason to launch a GPU job (#2149). Requires some-with-excludes.
79+
- '!**/*.[mM][dD]'
80+
- '!**/*.[mM][dD][xX]'
7681
7782
gpu-smoke-test:
7883
needs: [check-paths]

0 commit comments

Comments
 (0)