You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 23e0bb0
Browse filesBrowse the repository at this point in the historyBrowse files
Run the pipelines test scripts on bash 3.2 and on Windows
macOS runners use bash 3.2, which has no &>> redirect. The calls with
workspace or API paths that this PR adds also need Windows path conversion
turned off, like the ones before them.
Co-authored-by: Isaac <no-reply@databricks.com>
Copy file name to clipboardExpand all lines: acceptance/pipelines/test/immutable/output.txt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ If you've made local changes, run 'databricks pipelines deploy' first to ensure
15
15
Error: cannot resolve test selection "tests/test_orders.py::test_backfill": local test paths are not supported with workspace.sync_mode immutable; pass an absolute workspace path
16
16
17
17
=== Absolute workspace paths and running all tests still work
18
-
>>> [CLI] pipelines test my_pipeline /Workspace/Users/someone@example.com/tests/test_orders.py::test_backfill --no-wait
18
+
>>> MSYS_NO_PATHCONV=1 [CLI] pipelines test my_pipeline /Workspace/Users/someone@example.com/tests/test_orders.py::test_backfill --no-wait
19
19
Recommendation: This command runs the last deployed version of the code
20
20
21
21
If you've made local changes, run 'databricks pipelines deploy' first to ensure they are included.
Error: cannot resolve test selection "tests": the pipeline has no root_path; use an absolute workspace path such as /Workspace/Users/someone@example.com/tests
35
35
36
36
=== With --no-wait and only workspace paths, the pipeline is not read
37
-
>>> [CLI] pipelines test --pipeline-id [UUID] /Workspace/Users/someone@example.com/tests/test_other.py::test_x --no-wait
37
+
>>> MSYS_NO_PATHCONV=1 [CLI] pipelines test --pipeline-id [UUID] /Workspace/Users/someone@example.com/tests/test_other.py::test_x --no-wait
38
38
Pipeline: [UUID]
39
39
Update: [UUID]
40
40
@@ -53,7 +53,7 @@ Update: [UUID]
53
53
}
54
54
55
55
=== Without a root_path, test case IDs are absolute workspace paths
56
-
>>> [CLI] pipelines test --pipeline-id [UUID] /Workspace/Users/someone@example.com/orders/tests/test_orders.py
56
+
>>> MSYS_NO_PATHCONV=1 [CLI] pipelines test --pipeline-id [UUID] /Workspace/Users/someone@example.com/orders/tests/test_orders.py
0 commit comments