zed-editor: enable cargo-nextest
Upstream is using cargo-nextest and some tests are actually failing without it.
This commit is contained in:
@@ -225,23 +225,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
|
||||
checkFlags = [
|
||||
# Flaky: unreliably fails on certain hosts (including Hydra)
|
||||
"--skip=zed::tests::test_window_edit_state_restoring_enabled"
|
||||
# The following tests are flaky on at least x86_64-linux and aarch64-darwin,
|
||||
# where they sometimes fail with: "database table is locked: workspaces".
|
||||
"--skip=zed::tests::test_open_file_in_many_spaces"
|
||||
"--skip=zed::tests::test_open_non_existing_file"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# Flaky: unreliably fails on certain hosts (including Hydra)
|
||||
"--skip=zed::open_listener::tests::test_open_workspace_with_directory"
|
||||
"--skip=zed::open_listener::tests::test_open_workspace_with_nonexistent_files"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
# Fails on certain hosts (including Hydra) for unclear reason
|
||||
"--skip=test_open_paths_action"
|
||||
];
|
||||
useNextest = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
Reference in New Issue
Block a user