diff options
author | Philip Kuryloski <kuryloskip@vmware.com> | 2020-11-18 09:58:22 +0100 |
---|---|---|
committer | Philip Kuryloski <kuryloskip@vmware.com> | 2020-11-18 11:08:17 +0100 |
commit | 4bad0a6932189afe4b925dca7659ef75dafb5d37 (patch) | |
tree | 2888c13776e3d4d47f35a62e717d786df3d5b3a1 | |
parent | c816d4969e8b0f47c5a1e9dde03614bb36486693 (diff) | |
download | rabbitmq-server-git-4bad0a6932189afe4b925dca7659ef75dafb5d37.tar.gz |
Make ct-suite parallelization in GitHub Actions explicit
Previously apps with more than 20 suites would get this treatment, but
it is now made explicit and configurable
-rw-r--r-- | workflow_sources/deps.yml | 1 | ||||
-rw-r--r-- | workflow_sources/test/dep.star | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/workflow_sources/deps.yml b/workflow_sources/deps.yml index c5ea3e5af6..12f0699332 100644 --- a/workflow_sources/deps.yml +++ b/workflow_sources/deps.yml @@ -9,6 +9,7 @@ deps: - name: worker_pool - name: rabbit_env - name: rabbit + test_suites_in_parallel: true suites: - name: amqqueue_backward_compatibility time: 63 diff --git a/workflow_sources/test/dep.star b/workflow_sources/test/dep.star index a74b0bef99..d56e2fe2f6 100644 --- a/workflow_sources/test/dep.star +++ b/workflow_sources/test/dep.star @@ -8,7 +8,7 @@ def dep_jobs(dep): if not getattr(dep, "skip_tests", False): if dep.name == "rabbitmq_cli": jobs[dep.name] = rabbitmq_cli_job(dep) - elif len(dep.suites) > 20: + elif getattr(dep, "test_suites_in_parallel", False): jobs[dep.name + "-checks"] = checks_job(dep) for group in group_by_one(dep.suites): jobs[dep.name + "-ct-" + group["name"]] = ct_suites_job(dep, group) |