ci: scope e2e pipelines, exclude code_runner from integration
This commit is contained in:
@ -6,6 +6,8 @@ when:
|
||||
include:
|
||||
- "src/wrenn/code_runner/**"
|
||||
- "tests/test_code_runner_*.py"
|
||||
- "pyproject.toml"
|
||||
- "uv.lock"
|
||||
|
||||
steps:
|
||||
test-code-runner:
|
||||
|
||||
@ -7,8 +7,12 @@ when:
|
||||
path:
|
||||
include:
|
||||
- "src/**"
|
||||
- "tests/**"
|
||||
- "pyproject.toml"
|
||||
- "uv.lock"
|
||||
exclude:
|
||||
- "src/wrenn/code_runner/**"
|
||||
- "tests/test_code_runner_*.py"
|
||||
|
||||
steps:
|
||||
test-integration:
|
||||
|
||||
2
Makefile
2
Makefile
@ -33,7 +33,7 @@ test:
|
||||
uv run pytest tests/test_client.py tests/test_code_runner_unit.py -v
|
||||
|
||||
test-integration:
|
||||
uv run pytest tests/ -v -m "integration or not integration"
|
||||
uv run pytest tests/ -v -m "integration or not integration" --ignore=tests/test_code_runner_e2e.py --ignore=tests/test_code_runner_unit.py
|
||||
|
||||
test-code-runner:
|
||||
uv run pytest tests/test_code_runner_unit.py tests/test_code_runner_e2e.py -v -m "integration or not integration"
|
||||
|
||||
Reference in New Issue
Block a user