-
Notifications
You must be signed in to change notification settings - Fork 0
90 lines (80 loc) · 2.6 KB
/
validate_pr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
name: Validate pull request
on:
pull_request:
jobs:
validate_branches:
name: Validate branches
runs-on: ubuntu-latest
steps:
- name: Validate branches
if: github.base_ref == 'master' && github.head_ref != 'develop'
run: |
echo "Contributions should be made against the develop branch, see README.rst."
exit 1
validate_conditional_checks:
name: Validate conditional checks
timeout-minutes: 1440
runs-on: gpuagrohr-02
container:
image: ubuntu:22.04
steps:
- name: Install dependencies
run: |
apt-get update
apt-get install -y ca-certificates
- name: Wait for test suite
uses: blend/[email protected]
if: ${{ github.event.action == 'synchronize' && github.event.pull_request.draft == true }}
with:
interval: 20s
timeout: 1440m
checks-yaml: |
- job: 'Test suite'
paths:
- .github/workflows/testsuite.yml
- superdsm/**
- examples/**
- superdsm.yml
- tests/**
- name: Wait for test suite and regression tests
uses: blend/[email protected]
if: ${{ github.event.action != 'synchronize' || github.event.pull_request.draft == false }}
with:
interval: 20s
timeout: 1440m
checks-yaml: |
- job: 'Test: U2OS'
paths:
- .github/workflows/regressiontests.yml
- superdsm/**
- examples/**
- superdsm.yml
- tests/regression
- job: 'Test: NIH3T3'
paths:
- .github/workflows/regressiontests.yml
- superdsm/**
- examples/**
- superdsm.yml
- tests/regression
- job: 'Test: GOWT1-1'
paths:
- .github/workflows/regressiontests.yml
- superdsm/**
- examples/**
- superdsm.yml
- tests/regression
- job: 'Test: GOWT1-2'
paths:
- .github/workflows/regressiontests.yml
- superdsm/**
- examples/**
- superdsm.yml
- tests/regression
- job: 'Test suite'
paths:
- .github/workflows/testsuite.yml
- superdsm/**
- examples/**
- superdsm.yml
- tests/**