Skip to content

Commit c83202c

Browse files
temp
Signed-off-by: Keval Morabia <[email protected]>
1 parent db23e00 commit c83202c

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

.github/workflows/gpu_tests.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,20 @@ concurrency:
1111
cancel-in-progress: true
1212

1313
jobs:
14-
wait-dco:
14+
wait-checks:
1515
uses: ./.github/workflows/_wait_for_checks.yml
1616
permissions:
1717
checks: read
1818
secrets: inherit
1919
with:
20-
match_pattern: '^DCO$'
20+
match_pattern: '^DCO$|^linux$' # Wait for DCO and Unit tests / linux to pass
21+
delay: 300s
2122
check-changes:
22-
needs: [wait-dco]
2323
runs-on: ubuntu-latest
2424
outputs:
2525
any_changed: ${{ steps.changed-tests.outputs.any_changed }}
2626
steps:
27+
- uses: actions/checkout@v4
2728
- id: get-pr-info
2829
uses: nv-gha-runners/get-pr-info@main
2930
- name: Check for changes in test-relevant directories
@@ -38,17 +39,8 @@ jobs:
3839
pyproject.toml
3940
setup.py
4041
base_sha: ${{ fromJSON(steps.get-pr-info.outputs.pr-info).base.ref }}
41-
wait-unit-tests:
42-
needs: [wait-dco]
43-
uses: ./.github/workflows/_wait_for_checks.yml
44-
permissions:
45-
checks: read
46-
secrets: inherit
47-
with:
48-
match_pattern: '^linux$' # Unit tests / linux
49-
delay: 60s
5042
gpu-tests:
51-
needs: [check-changes, wait-unit-tests]
43+
needs: [check-changes, wait-checks]
5244
if: needs.check-changes.outputs.any_changed == 'true'
5345
# Runner list at https://github.com/nv-gha-runners/enterprise-runner-configuration/blob/main/docs/runner-groups.md
5446
runs-on: linux-amd64-gpu-h100-latest-1

0 commit comments

Comments
 (0)