Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/src/dev-docs/testing/integration-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ Ensure all commands below are run from inside the `integration-tests` directory.
To list all available markers:

```shell
uv run python -m pytest --markers
uv run pytest --markers
```

To run tests related to a specific marker (e.g., `clp_s`):

```shell
uv run python -m pytest -m clp_s
uv run pytest -m clp_s
```

### Specifying custom CLP binary paths
Expand Down
8 changes: 4 additions & 4 deletions integration-tests/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ docstring-code-line-length = 100
default-groups = ["clp", "dev"]

[tool.uv.sources]
clp-mcp-server = { path = "../components/clp-mcp-server" }
clp-package-utils = { path = "../components/clp-package-utils" }
clp-py-utils = { path = "../components/clp-py-utils" }
job-orchestration = { path = "../components/job-orchestration" }
clp-mcp-server = { path = "../components/clp-mcp-server", editable = true }
clp-package-utils = { path = "../components/clp-package-utils", editable = true }
clp-py-utils = { path = "../components/clp-py-utils", editable = true }
job-orchestration = { path = "../components/job-orchestration", editable = true }
16 changes: 8 additions & 8 deletions integration-tests/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 3 additions & 5 deletions taskfiles/tests/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ tasks:
cache-clear:
dir: "{{.G_INTEGRATION_TESTS_DIR}}"
cmds:
- >-
uv run python -m pytest --cache-clear --collect-only --override-ini addopts="" --quiet
> /dev/null
- "rm -rf .pytest_cache"

core:
deps:
Expand All @@ -24,8 +22,8 @@ tasks:
CLP_BUILD_DIR: "{{.G_BUILD_DIR}}"
CLP_CORE_BINS_DIR: "{{.G_CORE_COMPONENT_BUILD_DIR}}"
CLP_PACKAGE_DIR: "{{.G_PACKAGE_BUILD_DIR}}"
cmd: "uv run python -m pytest -m core"
cmd: "uv run pytest -m core"

clp-py-project-imports:
dir: "{{.G_INTEGRATION_TESTS_DIR}}"
cmd: "uv run python -m pytest tests/test_clp_native_py_project_imports.py"
cmd: "uv run pytest tests/test_clp_native_py_project_imports.py"
Loading