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:
11
11
cancel-in-progress : true
12
12
13
13
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
14
check-changes :
22
- needs : [wait-dco]
23
15
runs-on : ubuntu-latest
24
16
outputs :
25
17
any_changed : ${{ steps.changed-tests.outputs.any_changed }}
26
18
steps :
19
+ - uses : actions/checkout@v4
27
20
- id : get-pr-info
28
21
uses : nv-gha-runners/get-pr-info@main
29
22
- name : Check for changes in test-relevant directories
@@ -38,17 +31,18 @@ jobs:
38
31
pyproject.toml
39
32
setup.py
40
33
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'
43
37
uses : ./.github/workflows/_wait_for_checks.yml
44
38
permissions :
45
39
checks : read
46
40
secrets : inherit
47
41
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
50
44
gpu-tests :
51
- needs : [check-changes, wait-unit-tests ]
45
+ needs : [check-changes, wait-checks ]
52
46
if : needs.check-changes.outputs.any_changed == 'true'
53
47
# Runner list at https://github.com/nv-gha-runners/enterprise-runner-configuration/blob/main/docs/runner-groups.md
54
48
runs-on : linux-amd64-gpu-h100-latest-1
You can’t perform that action at this time.
0 commit comments