-
Notifications
You must be signed in to change notification settings - Fork 15
73 lines (59 loc) · 3 KB
/
ci-develop.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
# https://cryptousetech.atlassian.net/wiki/spaces/CI/pages/2586869783/CI+Develop
# Workflow which controls starts nested workflows.
name: develop
# Triger: PR at 'develop' branch with following types of events.
on:
pull_request:
branches: [ 'develop' ]
types: [ opened, reopened, synchronize, ready_for_review, converted_to_draft ]
workflow_dispatch:
#Concurency group for control execution queue over github runners.
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
# List of a jobs included into Workflow.
jobs:
yarn-dev:
if: github.event.pull_request.draft == false && !contains(github.event.pull_request.labels.*.name, 'CI-minimal')
uses: ./.github/workflows/yarn-dev.yml
secrets: inherit
unit-test:
if: github.event.pull_request.draft == false && !contains(github.event.pull_request.labels.*.name, 'CI-minimal')
uses: ./.github/workflows/unit-test.yml
secrets: inherit
canary:
if: github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'CI-canary')
uses: ./.github/workflows/canary.yml
secrets: inherit
xcm:
if: github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'CI-xcm')
uses: ./.github/workflows/xcm.yml
secrets: inherit
collator-selection:
if: github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'CI-collator-selection')
uses: ./.github/workflows/collator-selection.yml
secrets: inherit
forkless-update-data:
if: github.event.pull_request.draft == false && (contains(github.event.pull_request.labels.*.name, 'CI-forkless') || contains(github.event.pull_request.labels.*.name, 'CI-forkless-update-data'))
uses: ./.github/workflows/forkless-update-data.yml
secrets: inherit
forkless-update-no-data:
if: github.event.pull_request.draft == false && (contains(github.event.pull_request.labels.*.name, 'CI-forkless') || contains(github.event.pull_request.labels.*.name, 'CI-forkless-update-no-data'))
uses: ./.github/workflows/forkless-update-nodata.yml
secrets: inherit
try-runtime:
if: github.event.pull_request.draft == false && (contains(github.event.pull_request.labels.*.name, 'CI-forkless') || contains(github.event.pull_request.labels.*.name, 'CI-try-runtime'))
uses: ./.github/workflows/try-runtime.yml
secrets: inherit
node-only-update:
if: github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'CI-node-only-update')
uses: ./.github/workflows/node-only-update.yml
secrets: inherit
governance:
if: github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'CI-gov')
uses: ./.github/workflows/governance.yml
secrets: inherit
codestyle:
if: github.event.pull_request.draft == false && !contains(github.event.pull_request.labels.*.name, 'CI-minimal')
uses: ./.github/workflows/codestyle.yml
secrets: inherit