Skip to content

fix(io): reject duplicate per-frame track ids #1280

fix(io): reject duplicate per-frame track ids

fix(io): reject duplicate per-frame track ids #1280

Workflow file for this run

name: Pytest/Test Workflow
on:
push:
branches: ['release/*', 'develop']
pull_request:
branches: ['release/*', 'develop']
jobs:
run-tests:
name: Import Test and Pytest Run
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.10", "3.11", "3.12", "3.13"]
runs-on: ${{ matrix.os }}
steps:
- name: 📥 Checkout the repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: 🐍 Install uv and set Python version ${{ matrix.python-version }}
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
with:
python-version: ${{ matrix.python-version }}
activate-environment: true
# TODO(https://github.com/astral-sh/setup-uv/issues/226): Remove this.
prune-cache: ${{ matrix.os != 'windows-latest' }}
- name: 🚀 Install Packages
run: uv sync --frozen --group dev
- name: 🧪 Run the Import test
run: uv run python -c "import trackers"
- name: 🧪 Run the Test
shell: bash
run: |
if [ -d tests ] && [ "$(find tests -type f \( -name 'test_*.py' -o -name '*_test.py' \) | wc -l)" -gt 0 ]; then
uv run pytest -m "not integration"
else
echo "No tests found. Skipping pytest."
fi