diff --git a/.woodpecker/code-runner.yml b/.woodpecker/code-runner.yml index 96bff9d..9125333 100644 --- a/.woodpecker/code-runner.yml +++ b/.woodpecker/code-runner.yml @@ -6,6 +6,8 @@ when: include: - "src/wrenn/code_runner/**" - "tests/test_code_runner_*.py" + - "pyproject.toml" + - "uv.lock" steps: test-code-runner: diff --git a/.woodpecker/integration.yml b/.woodpecker/integration.yml index 6195b13..a427437 100644 --- a/.woodpecker/integration.yml +++ b/.woodpecker/integration.yml @@ -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: diff --git a/Makefile b/Makefile index 130c439..047d79e 100644 --- a/Makefile +++ b/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"