ci: Don't require protobuf and postgres checks for tests_pass for now (#42057)

For now, there are cases where we want to merge PRs (advisedly) even
though these checks fail.

Release Notes:

- N/A
This commit is contained in:
Cole Miller
2025-11-06 00:03:50 -05:00
committed by GitHub
parent 121cee8045
commit 930b489d90
2 changed files with 37 additions and 38 deletions
@@ -42,7 +42,7 @@ pub(crate) fn run_tests() -> Workflow {
&should_run_tests,
]);
let jobs = [
let mut jobs = vec![
orchestrate,
check_style(),
should_run_tests.guard(run_platform_tests(Platform::Windows)),
@@ -50,7 +50,6 @@ pub(crate) fn run_tests() -> Workflow {
should_run_tests.guard(run_platform_tests(Platform::Mac)),
should_run_tests.guard(doctests()),
should_run_tests.guard(check_workspace_binaries()),
should_run_tests.guard(check_postgres_and_protobuf_migrations()), // could be more specific here?
should_run_tests.guard(check_dependencies()), // could be more specific here?
should_check_docs.guard(check_docs()),
should_check_licences.guard(check_licenses()),
@@ -74,6 +73,8 @@ pub(crate) fn run_tests() -> Workflow {
];
let tests_pass = tests_pass(&jobs);
jobs.push(should_run_tests.guard(check_postgres_and_protobuf_migrations())); // could be more specific here?
named::workflow()
.add_event(Event::default()
.push(