Skip to content

Commit 10935d1

Browse files
TEMP
Signed-off-by: Keval Morabia <[email protected]>
1 parent b654f93 commit 10935d1

File tree

2 files changed

+2
-20
lines changed

2 files changed

+2
-20
lines changed

.github/workflows/_wait_for_checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ jobs:
1818
checks: read
1919
steps:
2020
- name: Wait for checks (PRs only)
21-
if: github.event_name == 'pull_request' || startsWith(github.sha, 'refs/heads/pull-request/')
21+
if: github.event_name == 'pull_request' || startsWith(github.ref, 'refs/heads/pull-request/')
2222
uses: poseidon/[email protected]
2323
with:
2424
token: ${{ secrets.GITHUB_TOKEN }}
2525
match_pattern: ${{ inputs.match_pattern }}
2626
delay: ${{ inputs.delay }}
2727
- name: No-op for non-PR events
28-
if: github.event_name != 'pull_request' && !startsWith(github.sha, 'refs/heads/pull-request/')
28+
if: github.event_name != 'pull_request' && !startsWith(github.ref, 'refs/heads/pull-request/')
2929
run: echo "Not a pull_request event"

.github/workflows/gpu_tests.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,7 @@ concurrency:
1111
cancel-in-progress: true
1212

1313
jobs:
14-
wait-dco:
15-
uses: ./.github/workflows/_wait_for_checks.yml
16-
permissions:
17-
checks: read
18-
secrets: inherit
19-
with:
20-
match_pattern: '^DCO$'
21-
wait-unit-tests:
22-
needs: [wait-dco]
23-
uses: ./.github/workflows/_wait_for_checks.yml
24-
permissions:
25-
checks: read
26-
secrets: inherit
27-
with:
28-
match_pattern: '^linux$' # Unit tests / linux
29-
delay: 60s
3014
gpu-tests:
31-
needs: [wait-unit-tests]
3215
# Runner list at https://github.com/nv-gha-runners/enterprise-runner-configuration/blob/main/docs/runner-groups.md
3316
runs-on: linux-amd64-gpu-h100-latest-1
3417
timeout-minutes: 60
@@ -49,7 +32,6 @@ jobs:
4932
uses: step-security/[email protected]
5033
with:
5134
files: |
52-
.github/workflows/gpu_tests.yml
5335
modelopt/**
5436
tests/gpu/**
5537
tox.ini

0 commit comments

Comments
 (0)