Change summary
.github/actions/run_tests/action.yml | 5 ++++-
Cargo.lock | 1 +
crates/project_panel/Cargo.toml | 1 +
crates/project_panel/src/project_panel_tests.rs | 1 +
4 files changed, 7 insertions(+), 1 deletion(-)
Detailed changes
@@ -18,6 +18,9 @@ runs:
shell: bash -euxo pipefail {0}
run: script/clear-target-dir-if-larger-than 100
+ # FIXME
- name: Run tests
shell: bash -euxo pipefail {0}
- run: cargo nextest run --workspace --no-fail-fast --failure-output immediate-final
+ env:
+ RUST_LOG: project=debug,project_panel=debug
+ run: cargo nextest run -p project_panel --no-fail-fast --failure-output immediate-final --no-capture
@@ -12078,6 +12078,7 @@ dependencies = [
"criterion",
"db",
"editor",
+ "env_logger 0.11.8",
"file_icons",
"git",
"git_ui",
@@ -51,6 +51,7 @@ workspace-hack.workspace = true
client = { workspace = true, features = ["test-support"] }
criterion.workspace = true
editor = { workspace = true, features = ["test-support"] }
+env_logger.workspace = true
gpui = { workspace = true, features = ["test-support"] }
language = { workspace = true, features = ["test-support"] }
serde_json.workspace = true
@@ -6799,6 +6799,7 @@ fn visible_entries_as_strings(
fn init_test(cx: &mut TestAppContext) {
cx.update(|cx| {
+ env_logger::try_init().ok();
let settings_store = SettingsStore::test(cx);
cx.set_global(settings_store);
init_settings(cx);