File tree Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Original file line number Diff line number Diff line change @@ -11,19 +11,12 @@ concurrency:
1111 cancel-in-progress : true
1212
1313jobs :
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$'
2114 check-changes :
22- needs : [wait-dco]
2315 runs-on : ubuntu-latest
2416 outputs :
2517 any_changed : ${{ steps.changed-tests.outputs.any_changed }}
2618 steps :
19+ - uses : actions/checkout@v4
2720 - id : get-pr-info
2821 uses : nv-gha-runners/get-pr-info@main
2922 - name : Check for changes in test-relevant directories
@@ -38,17 +31,18 @@ jobs:
3831 pyproject.toml
3932 setup.py
4033 base_sha : ${{ fromJSON(steps.get-pr-info.outputs.pr-info).base.ref }}
41- wait-unit-tests :
42- needs : [wait-dco]
34+ wait-checks :
35+ needs : [check-changes]
36+ if : needs.check-changes.outputs.any_changed == 'true'
4337 uses : ./.github/workflows/_wait_for_checks.yml
4438 permissions :
4539 checks : read
4640 secrets : inherit
4741 with :
48- match_pattern : ' ^linux$' # Unit tests / linux
49- delay : 60s
42+ match_pattern : ' ^DCO$|^ linux$' # Wait for DCO and Unit tests / linux to pass
43+ delay : 300s
5044 gpu-tests :
51- needs : [check-changes, wait-unit-tests ]
45+ needs : [check-changes, wait-checks ]
5246 if : needs.check-changes.outputs.any_changed == 'true'
5347 # Runner list at https://github.com/nv-gha-runners/enterprise-runner-configuration/blob/main/docs/runner-groups.md
5448 runs-on : linux-amd64-gpu-h100-latest-1
You can’t perform that action at this time.
0 commit comments