diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 1dfd8b7..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,52 +0,0 @@ -name: ci - -on: - push: - branches: [main] - pull_request: - -jobs: - linux-core: - name: Linux C++ core (cmake + ctest) - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Install build tools - run: sudo apt-get update && sudo apt-get install -y cmake g++ ninja-build - - name: Configure - run: cmake -S . -B build/linux - - name: Build - run: cmake --build build/linux - - name: Test - run: ctest --test-dir build/linux --output-on-failure - - python-root: - name: Python root tests (pytest, no tracker deps) - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: '3.12' - - name: Install pytest - run: python -m pip install --upgrade pip pytest - - name: Run root-satisfiable pytest - # conftest.py skips tests/test_tracker.py here (needs numpy/cv2/mediapipe, - # only installed in tracker/.venv below); it collects fully there instead. - run: pytest -q - - python-tracker: - name: Python tracker (pytest, tracker/.venv) - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: '3.12' - - name: Create tracker venv and install deps - run: | - python -m venv tracker/.venv - tracker/.venv/bin/pip install --upgrade pip - tracker/.venv/bin/pip install pytest numpy opencv-python-headless mediapipe - - name: Run tracker pytest - run: tracker/.venv/bin/python -m pytest -q tests/