-
Notifications
You must be signed in to change notification settings - Fork 75
118 lines (105 loc) · 4 KB
/
botonic-ci-test-all-packages.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
name: Botonic CI test all packages
on:
workflow_dispatch:
jobs:
botonic-cli-tests:
uses: ./.github/workflows/botonic-common-workflow.yml
secrets: inherit #pragma: allowlist secret
with:
PACKAGE_NAME: Botonic cli tests
PACKAGE: botonic-cli
# Temporal workaround until ts-jest is fixed
UNIT_TEST_COMMAND: cp tsconfig.test.json tsconfig.json && npm run test_ci
PUBLISH_TESTS_RESULTS: 'yes'
NEEDS_CODECOV_UPLOAD: 'yes'
botonic-core-tests:
uses: ./.github/workflows/botonic-common-workflow.yml
secrets: inherit #pragma: allowlist secret
with:
PACKAGE_NAME: Botonic core tests
PACKAGE: botonic-core
NEEDS_CODECOV_UPLOAD: 'yes'
botonic-plugin-contentful-tests:
uses: ./.github/workflows/botonic-common-workflow.yml
secrets: inherit #pragma: allowlist secret
with:
PACKAGE_NAME: Botonic plugin-contentful Tests
PACKAGE: botonic-plugin-contentful
BUILD_COMMAND: npm run build_unit_tests
NEEDS_CONTENTFUL_SECRETS: 'yes' #pragma: allowlist secret
NEEDS_CODECOV_UPLOAD: 'yes'
botonic-plugin-dashbot-tests:
uses: ./.github/workflows/botonic-common-workflow.yml
secrets: inherit #pragma: allowlist secret
with:
PACKAGE_NAME: Botonic plugin-dashbot tests
PACKAGE: botonic-plugin-dashbot
UNIT_TEST_COMMAND: ''
BUILD_COMMAND: ''
botonic-plugin-dialogflow:
uses: ./.github/workflows/botonic-common-workflow.yml
secrets: inherit #pragma: allowlist secret
with:
PACKAGE_NAME: Botonic plugin-dialogflow tests
PACKAGE: botonic-plugin-dialogflow
UNIT_TEST_COMMAND: npm run test_ci
BUILD_COMMAND: 'cd ../botonic-core && npm run build && cd ../botonic-plugin-dialogflow && npm run build'
PUBLISH_TESTS_RESULTS: 'yes'
NEEDS_CODECOV_UPLOAD: 'yes'
botonic-plugin-dynamodb-tests:
uses: ./.github/workflows/botonic-common-workflow.yml
secrets: inherit #pragma: allowlist secret
with:
PACKAGE_NAME: Botonic plugin-dynamodb Tests
PACKAGE: botonic-plugin-dynamodb
BUILD_COMMAND: npm run build_unit_tests
NEEDS_CODECOV_UPLOAD: 'yes'
NEEDS_AWS_CRED: 'yes' #pragma: allowlist secret
botonic-plugin-google-analytics-tests:
uses: ./.github/workflows/botonic-common-workflow.yml
secrets: inherit #pragma: allowlist secret
with:
PACKAGE_NAME: Botonic plugin-google-analytics tests
PACKAGE: botonic-plugin-google-analytics
BUILD_COMMAND: 'cd ../botonic-core && npm run build && cd ../botonic-plugin-google-analytics && npm run build'
UNIT_TEST_COMMAND: ''
botonic-plugin-inbenta-tests:
uses: ./.github/workflows/botonic-common-workflow.yml
secrets: inherit #pragma: allowlist secret
with:
PACKAGE_NAME: Botonic plugin-inbenta tests
PACKAGE: botonic-plugin-inbenta
BUILD_COMMAND: ''
UNIT_TEST_COMMAND: ''
botonic-plugin-luis-tests:
uses: ./.github/workflows/botonic-common-workflow.yml
secrets: inherit #pragma: allowlist secret
with:
PACKAGE_NAME: Botonic plugin-luis tests
PACKAGE: botonic-plugin-luis
BUILD_COMMAND: ''
UNIT_TEST_COMMAND: ''
botonic-plugin-segment-tests:
uses: ./.github/workflows/botonic-common-workflow.yml
secrets: inherit #pragma: allowlist secret
with:
PACKAGE_NAME: Botonic plugin-segment tests
PACKAGE: botonic-plugin-segment
BUILD_COMMAND: ''
UNIT_TEST_COMMAND: ''
botonic-plugin-watson-tests:
uses: ./.github/workflows/botonic-common-workflow.yml
secrets: inherit #pragma: allowlist secret
with:
PACKAGE_NAME: Botonic plugin-watson tests
PACKAGE: botonic-plugin-watson
BUILD_COMMAND: ''
UNIT_TEST_COMMAND: ''
botonic-react-tests:
uses: ./.github/workflows/botonic-common-workflow.yml
secrets: inherit #pragma: allowlist secret
with:
PACKAGE_NAME: Botonic react tests
PACKAGE: botonic-react
BUILD_COMMAND: 'cd ../botonic-core && npm run build && cd ../botonic-react && npm run build'
NEEDS_CODECOV_UPLOAD: 'yes'