diff --git a/.github/actions/run_tests/action.yml b/.github/actions/run_tests/action.yml index faf94017976f4b06fdaaa80a5db8083405a7950a..936ba953e54d884ae3f7f62a5114c347ea7bcc63 100644 --- a/.github/actions/run_tests/action.yml +++ b/.github/actions/run_tests/action.yml @@ -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 diff --git a/Cargo.lock b/Cargo.lock index 7b7ffde83d8072556207195c0d86a3e3e093c9c7..2177053db5a9b6303a04705e9cc05d918f595570 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -12078,6 +12078,7 @@ dependencies = [ "criterion", "db", "editor", + "env_logger 0.11.8", "file_icons", "git", "git_ui", diff --git a/crates/project_panel/Cargo.toml b/crates/project_panel/Cargo.toml index 1597b60704daab06ef881b60dea8801c5d704af6..361cf5b5955bc27902c086d55faff180966254be 100644 --- a/crates/project_panel/Cargo.toml +++ b/crates/project_panel/Cargo.toml @@ -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 diff --git a/crates/project_panel/src/project_panel_tests.rs b/crates/project_panel/src/project_panel_tests.rs index 04f52d3ab14bf280cc1a18e6d39c8f92e3cfbf3c..27104558f2db2a360f420be3e345138c8c089a8c 100644 --- a/crates/project_panel/src/project_panel_tests.rs +++ b/crates/project_panel/src/project_panel_tests.rs @@ -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);