Skip to content

Commit 3f778df

Browse files
authored
Run integration tests via custom action (#929)
This PR unifies integration testing infra
1 parent cc4146b commit 3f778df

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.codegen.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,15 @@
33
"src/databricks/labs/ucx/__about__.py": "__version__ = \"$VERSION\""
44
},
55
"toolchain": {
6-
"required": ["hatch"],
7-
"pre_setup": ["hatch env create"],
8-
"prepend_path": ".venv/bin"
6+
"required": ["python3"],
7+
"pre_setup": [
8+
"python3 -m pip install hatch==1.7.0",
9+
"python3 -m hatch env create"
10+
],
11+
"prepend_path": ".venv/bin",
12+
"acceptance_path": "tests/integration",
13+
"test": [
14+
"pytest -n 4 --cov src --cov-report=xml --timeout 30 tests/unit --durations 20"
15+
]
916
}
1017
}

0 commit comments

Comments
 (0)