chore: import upstream snapshot with attribution
tests / test (push) Has been cancelled

This commit is contained in:
wehub-resource-sync
2026-07-13 12:36:27 +08:00
commit 1d6fd29cda
37 changed files with 10141 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
name: tests
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dev dependencies
run: pip install -r requirements-dev.txt
- name: Run tests with coverage
run: pytest --cov=tools --cov-report=term-missing
# NOTE: the 80% coverage gate is intentionally NOT enforced yet.
# Baseline coverage could not be measured locally (offline environment).
# Once this workflow's first run reports the real number — and after the
# P2 work adds the missing tests for main()/_format_* helpers — enforce it
# by appending: --cov-fail-under=80