Skip to content

Commit 2b39724

Browse files
Merge pull request #11402 from rabbitmq/rin/add-back-cli-tests-to-ci
Add back rabbitmq_cli tests to CI
2 parents 4d022cc + bdd18ed commit 2b39724

File tree

4 files changed

+34
-2
lines changed

4 files changed

+34
-2
lines changed

.github/workflows/templates/test-mixed-versions.template.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,14 @@ jobs:
178178
secrets: inherit
179179
#@ end
180180

181+
test-rabbitmq_cli:
182+
needs: check-workflow
183+
uses: ./.github/workflows/test-plugin.yaml
184+
with:
185+
repo_cache_key: ${{ needs.check-workflow.outputs.repo_cache_key }}
186+
plugin: rabbitmq_cli
187+
secrets: inherit
188+
181189
#@ for plugin in data.values.tier1_plugins:
182190
test-(@= plugin @):
183191
needs: #@ ["check-workflow"] + sharded_job_names("rabbit", rabbit_shard_count)
@@ -189,7 +197,7 @@ jobs:
189197
#@ end
190198

191199
summary-test:
192-
needs: #@ job_names(data.values.internal_deps + data.values.tier1_plugins) + sharded_job_names("rabbit", rabbit_shard_count)
200+
needs: #@ job_names(data.values.internal_deps + data.values.tier1_plugins) + sharded_job_names("rabbit", rabbit_shard_count) + ["test-rabbitmq_cli"]
193201
runs-on: ubuntu-latest
194202
steps:
195203
- name: SUMMARY

.github/workflows/templates/test.template.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,14 @@ jobs:
119119
secrets: inherit
120120
#@ end
121121

122+
test-rabbitmq_cli:
123+
needs: check-workflow
124+
uses: ./.github/workflows/test-plugin.yaml
125+
with:
126+
repo_cache_key: ${{ needs.check-workflow.outputs.repo_cache_key }}
127+
plugin: rabbitmq_cli
128+
secrets: inherit
129+
122130
#@ for plugin in data.values.tier1_plugins:
123131
test-(@= plugin @):
124132
needs: #@ ["check-workflow"] + sharded_job_names("rabbit", rabbit_shard_count)
@@ -130,7 +138,7 @@ jobs:
130138
#@ end
131139

132140
summary-test:
133-
needs: #@ job_names(data.values.internal_deps + data.values.tier1_plugins) + sharded_job_names("rabbit", rabbit_shard_count)
141+
needs: #@ job_names(data.values.internal_deps + data.values.tier1_plugins) + sharded_job_names("rabbit", rabbit_shard_count) + ["test-rabbitmq_cli"]
134142
runs-on: ubuntu-latest
135143
steps:
136144
- name: SUMMARY

.github/workflows/test-mixed-versions.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,13 @@ jobs:
384384
shard_index: 9
385385
shard_count: 10
386386
secrets: inherit
387+
test-rabbitmq_cli:
388+
needs: check-workflow
389+
uses: ./.github/workflows/test-plugin.yaml
390+
with:
391+
repo_cache_key: ${{ needs.check-workflow.outputs.repo_cache_key }}
392+
plugin: rabbitmq_cli
393+
secrets: inherit
387394
test-rabbitmq_amqp_client:
388395
needs:
389396
- check-workflow
@@ -1146,6 +1153,7 @@ jobs:
11461153
- test-rabbit-7
11471154
- test-rabbit-8
11481155
- test-rabbit-9
1156+
- test-rabbitmq_cli
11491157
runs-on: ubuntu-latest
11501158
steps:
11511159
- name: SUMMARY

.github/workflows/test.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,13 @@ jobs:
328328
shard_index: 9
329329
shard_count: 10
330330
secrets: inherit
331+
test-rabbitmq_cli:
332+
needs: check-workflow
333+
uses: ./.github/workflows/test-plugin.yaml
334+
with:
335+
repo_cache_key: ${{ needs.check-workflow.outputs.repo_cache_key }}
336+
plugin: rabbitmq_cli
337+
secrets: inherit
331338
test-rabbitmq_amqp_client:
332339
needs:
333340
- check-workflow
@@ -1090,6 +1097,7 @@ jobs:
10901097
- test-rabbit-7
10911098
- test-rabbit-8
10921099
- test-rabbit-9
1100+
- test-rabbitmq_cli
10931101
runs-on: ubuntu-latest
10941102
steps:
10951103
- name: SUMMARY

0 commit comments

Comments
 (0)