Use gh workflow for tests (#41384)
Follow up for: #41304 Splits CI tests (cherry-picks and PRs only for now) into separate workflows using `gh-workflow`. Includes a couple restructures to - run more things in parallel - remove our previous shell script based checking to filter tests based on files changed, instead using the builtin `paths:` workflow filters Splitting the docs/style/rust tests & checks into separate workflows means we lose the complete summary showing all the tests in one view, but it's possible to re-add in the future if we go back to checking what files changed ourselves or always run everything. Release Notes: - N/A *or* Added/Fixed/Improved ... --------- Co-authored-by: Conrad <conrad@zed.dev>
This commit is contained in:
@@ -6,8 +6,13 @@ use std::path::Path;
|
||||
mod danger;
|
||||
mod nix_build;
|
||||
mod release_nightly;
|
||||
mod run_action_checks;
|
||||
mod run_bundling;
|
||||
mod run_docs_checks;
|
||||
mod run_license_checks;
|
||||
mod run_style_checks;
|
||||
|
||||
mod run_tests;
|
||||
mod runners;
|
||||
mod steps;
|
||||
mod vars;
|
||||
@@ -23,8 +28,17 @@ pub fn run_workflows(_: GenerateWorkflowArgs) -> Result<()> {
|
||||
("nix_build.yml", nix_build::nix_build()),
|
||||
("run_bundling.yml", run_bundling::run_bundling()),
|
||||
("release_nightly.yml", release_nightly::release_nightly()),
|
||||
// ("run_tests.yml", run_tests::run_tests()),
|
||||
// ("release.yml", release::release()),
|
||||
("run_tests.yml", run_tests::run_tests()),
|
||||
("run_docs_checks.yml", run_docs_checks::run_docs_checks()),
|
||||
("run_style_checks.yml", run_style_checks::run_style_checks()),
|
||||
(
|
||||
"run_action_checks.yml",
|
||||
run_action_checks::run_action_checks(),
|
||||
),
|
||||
(
|
||||
"run_license_checks.yml",
|
||||
run_license_checks::run_license_checks(),
|
||||
), // ("release.yml", release::release()),
|
||||
];
|
||||
fs::create_dir_all(dir)
|
||||
.with_context(|| format!("Failed to create directory: {}", dir.display()))?;
|
||||
|
||||
Reference in New Issue
Block a user