← All tasks
pythonapache/seatunnel #12296Not a task: already works

[Feature][CI] Run the seatunnel-cli Python test suite in CI

envgap__apache__seatunnel-12296

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
3339132550594fe3128534cf37c86f0cbbe435cc
Manifest
seatunnel-cli/pyproject.toml
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

apache/seatunnel #12296 · read the original issue
### Search before asking

- [X] I had searched in the [feature](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22) and found no similar feature requirement.

### Description

The Python test suite under `seatunnel-cli/` never runs in CI. It currently holds 103 test functions across 10 files under `seatunnel-cli/tests/`, and all of them are verified only on the contributor's machine.

Concretely:

- no workflow invokes `pytest`;
- `setup-python` in `.github/workflows/backend.yml` exists only to run the change-detection script;
- the `benchmarks` path filter matches `seatunnel-benchmarks/**` and `tools/benchmarks/**`, not `seatunnel-cli/**`.

So a PR touching `seatunnel-cli` shows a green Build check that covers none of the code it changed. The gap came in with the original CLI work and widens with every follow-up, including the benchmark suites currently under review.

### Usage Scenario

A reviewer looking at a `seatunnel-cli` PR should be able to rely on the checks. Adding a small standalone workflow that runs `pytest` (and lint) for `seatunnel-cli` on pull requests touching that path closes the gap. The workflow must be scoped by path so it does not add time to unrelated PRs, and it must not require network or model credentials — the suite is offline.

### Related issues

_No response_

### Are you willing to submit a PR?

- [X] Yes I am willing to submit a PR!

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]