Yicong-Huang opened a new pull request, #5965:
URL: https://github.com/apache/texera/pull/5965
### What changes were proposed in this PR?
Stacked on top of #5961 (the `infra` CI job lives there).
Move `bin/licensing/test_*.py` — the unit tests for the per-module
`LICENSE-binary` version-drift checker — from `pyamber` into `infra`.
```
Before: After:
─────────────────────────────────────
─────────────────────────────────────
pyamber (ubuntu × 3.10/3.11/3.12/3.13) infra (ubuntu, macos)
├─ Unit-test licensing scripts × 4 ├─ Unit-test licensing scripts × 1
└─ pip-licenses / amber tests ├─ Run shell smoke tests
└─ Run Python unit tests (pytest
infra (ubuntu, macos) covers bin/licensing/ +
├─ Run shell smoke tests bin/local-dev/tests/)
└─ Run Python unit tests
```
Same stdlib `unittest.TestCase` tests — `pytest` discovers them without
rewriting. Single combined `pytest bin/local-dev/tests/ bin/licensing/`
invocation so test failures are easy to attribute.
The `infra` job grows from "dev-loop tooling only" to "any project-tooling
under `bin/*` that isn't tied to a specific service". Comment + labeler glob
updated to match; `bin/licensing/**` now picks up the job automatically.
### Any related issues, documentation, discussions?
Closes #5964.
### How was this PR tested?
Locally on this checkout:
```
$ python -m pytest bin/local-dev/tests/ bin/licensing/ -v --tb=short
============================== 91 passed in 0.27s
==============================
$ bash bin/local-dev/tests/test_local_dev_sh.sh
9 passed, 0 failed
```
53 licensing tests (`test_check_binary_deps.py` +
`test_generate_notice_binary.py`) + 38 local-dev TUI / dirty-detection tests,
all on Python 3.12.
### Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Anthropic, Claude Opus 4.7).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]