Skip to content

Commit 31ed02d

Browse files
Run tests after checks
1 parent 7397ff1 commit 31ed02d

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.github/workflows/gpu_tests.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,20 @@ concurrency:
1818
cancel-in-progress: true
1919

2020
jobs:
21+
wait-unit-tests:
22+
runs-on: ubuntu-latest
23+
permissions:
24+
checks: read
25+
steps:
26+
- name: Wait for Unit tests to pass
27+
uses: poseidon/[email protected]
28+
with:
29+
token: ${{ secrets.GITHUB_TOKEN }}
30+
match_pattern: 'Unit tests / linux*'
31+
interval: 15s
32+
timeout: 60m
2133
gpu-tests:
34+
needs: [wait-unit-tests]
2235
# Runner list at https://github.com/nv-gha-runners/enterprise-runner-configuration/blob/main/docs/runner-groups.md
2336
runs-on: linux-amd64-gpu-h100-latest-1
2437
timeout-minutes: 60

.github/workflows/unit_tests.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,21 @@ concurrency:
2626
cancel-in-progress: true
2727

2828
jobs:
29+
wait-dco:
30+
runs-on: ubuntu-latest
31+
permissions:
32+
checks: read
33+
steps:
34+
- name: Wait for DCO check (PRs only)
35+
if: github.event_name == 'pull_request'
36+
uses: poseidon/[email protected]
37+
with:
38+
token: ${{ secrets.GITHUB_TOKEN }}
39+
match_pattern: '^DCO$'
40+
interval: 15s
41+
timeout: 1m
2942
linux:
43+
needs: [wait-dco]
3044
runs-on: ubuntu-latest
3145
timeout-minutes: 30
3246
steps:

0 commit comments

Comments
 (0)