Skip to content

Commit e7acd69

Browse files
quinntaylormitchellBill-hbrhbrcoderabbitai[bot]junhaoliao
authored
feat(ci): Add task for package integration tests. (#1664)
Co-authored-by: Bingran Hu <bingran.hu@yscope.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Junhao Liao <junhao@junhao.ca>
1 parent 762ed50 commit e7acd69

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

taskfiles/tests/integration.yaml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,31 @@ tasks:
88
deps:
99
- task: "clp-py-project-imports"
1010
- task: "core"
11+
- task: "package"
1112

1213
cache-clear:
1314
dir: "{{.G_INTEGRATION_TESTS_DIR}}"
1415
cmds:
1516
- "rm -rf .pytest_cache"
1617

1718
core:
18-
deps:
19-
- task: "::core"
20-
dir: "{{.G_INTEGRATION_TESTS_DIR}}"
2119
env:
2220
CLP_BUILD_DIR: "{{.G_BUILD_DIR}}"
2321
CLP_CORE_BINS_DIR: "{{.G_CORE_COMPONENT_BUILD_DIR}}"
2422
CLP_PACKAGE_DIR: "{{.G_PACKAGE_BUILD_DIR}}"
23+
dir: "{{.G_INTEGRATION_TESTS_DIR}}"
24+
deps: ["::core"]
2525
cmd: "uv run pytest -m core"
2626

2727
clp-py-project-imports:
2828
dir: "{{.G_INTEGRATION_TESTS_DIR}}"
2929
cmd: "uv run pytest tests/test_clp_native_py_project_imports.py"
30+
31+
package:
32+
env:
33+
CLP_BUILD_DIR: "{{.G_BUILD_DIR}}"
34+
CLP_CORE_BINS_DIR: "{{.G_CORE_COMPONENT_BUILD_DIR}}"
35+
CLP_PACKAGE_DIR: "{{.G_PACKAGE_BUILD_DIR}}"
36+
dir: "{{.G_INTEGRATION_TESTS_DIR}}"
37+
deps: ["::package"]
38+
cmd: "uv run pytest -m package"

0 commit comments

Comments
 (0)