From 530a2a9bab51ed367ca2ec56210b4a680d85a0cd Mon Sep 17 00:00:00 2001 From: Ilya Kuznetsov Date: Tue, 19 Nov 2024 13:33:02 +0100 Subject: [PATCH] fix: Skipping path translation tests for windows --- bundle/config/mutator/translate_paths_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bundle/config/mutator/translate_paths_test.go b/bundle/config/mutator/translate_paths_test.go index 45a8b62f..a2032f81 100644 --- a/bundle/config/mutator/translate_paths_test.go +++ b/bundle/config/mutator/translate_paths_test.go @@ -4,6 +4,7 @@ import ( "context" "os" "path/filepath" + "runtime" "strings" "testing" @@ -789,6 +790,10 @@ func TestTranslatePathWithComplexVariables(t *testing.T) { } func TestTranslatePathsWithSourceLinkedDeployment(t *testing.T) { + if runtime.GOOS == "windows" { + t.Skip("this test is not applicable on Windows because source-linked mode works only in the Databricks Workspace") + } + dir := t.TempDir() touchNotebookFile(t, filepath.Join(dir, "my_job_notebook.py")) touchNotebookFile(t, filepath.Join(dir, "my_pipeline_notebook.py"))