fix(detections): map each crop to its own bbox (#616) #1255
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: builds | |
| on: | |
| push: | |
| branches: main | |
| pull_request: | |
| branches: main | |
| env: | |
| PYTHON_VERSION: "3.11" | |
| UV_VERSION: "0.11.14" | |
| jobs: | |
| docker: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ env.PYTHON_VERSION }} | |
| architecture: x64 | |
| - uses: astral-sh/setup-uv@v7 | |
| with: | |
| version: ${{ env.UV_VERSION }} | |
| - name: Build, run & check docker | |
| env: | |
| SUPERADMIN_LOGIN: dummy_login | |
| SUPERADMIN_PWD: dummy&P@ssw0rd! | |
| SUPERADMIN_ORG: dummyorga | |
| POSTGRES_USER: dummy_pg_user | |
| POSTGRES_PASSWORD: dummy_pg_pwd | |
| POSTGRES_DB: dummy_pg_db | |
| run: | | |
| docker compose up -d --build --wait | |
| docker compose logs | |
| curl http://localhost:5050/status | |
| client: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| python: ["3.10", "3.11", "3.12"] | |
| exclude: | |
| - os: macos-latest | |
| python: "3.10" | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python }} | |
| architecture: x64 | |
| - uses: astral-sh/setup-uv@v7 | |
| with: | |
| version: ${{ env.UV_VERSION }} | |
| - name: Install project | |
| run: | | |
| uv pip install --system -e client/. | |
| python -c "import pyroclient; print(pyroclient.__version__)" |