chore: run the Python suite from the repository root
Some checks failed
tests / model-free (pull_request) Has been cancelled

The workflow sat at `recognization/.github/workflows/`, but Actions only reads
`.github/workflows` at the repository root, so it never ran. Moved unchanged;
it already sets `working-directory: recognization`.

Verified locally with the same command the workflow runs:
`python -m unittest discover -s code -p 'test_*.py'` - 255 tests, OK, 2
real-model skips.
This commit is contained in:
kiyo9w 2026-09-28 17:26:58 +09:00
parent 3614b23a2c
commit 1bb1b7158b

24
.github/workflows/test.yml vendored Normal file
View file

@ -0,0 +1,24 @@
name: tests
on:
push:
pull_request:
jobs:
model-free:
runs-on: ubuntu-latest
defaults:
run:
working-directory: recognization
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install pinned dependencies
run: python -m pip install -r requirements.lock
- name: Model-free suite
env:
YOLO_OFFLINE: "1"
YOLO_AUTOINSTALL: "false"
run: python -m unittest discover -s code -p 'test_*.py' -v