-
Notifications
You must be signed in to change notification settings - Fork 15
67 lines (54 loc) · 2.61 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
# 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 ]
#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
xcm:
if: github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'CI-xcm')
uses: ./.github/workflows/xcm.yml
secrets: inherit
xnft:
if: github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'CI-xnft')
uses: ./.github/workflows/xnft.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
main-process:
if: github.event.pull_request.draft == false && (contains(github.event.pull_request.labels.*.name, 'CI-main-process') || contains(github.event.pull_request.labels.*.name, 'CI-main-process'))
uses: ./.github/workflows/main-process-update.yml
secrets: inherit
try-runtime:
if: github.event.pull_request.draft == false && (contains(github.event.pull_request.labels.*.name, 'CI-try-runtime') || contains(github.event.pull_request.labels.*.name, 'CI-try-runtime'))
uses: ./.github/workflows/try-runtime.yml
secrets: inherit
governance:
if: github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'CI-governance')
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
polkadot-types:
if: contains(github.event.pull_request.labels.*.name, 'CI-hotfix-types')
uses: ./.github/workflows/polkadot-types.yml
secrets: inherit