Fix/camera list resilient s3 image url #1007
Workflow file for this run
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.5.13" | |
| POETRY_VERSION: "1.8.3" | |
| 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: abatilo/actions-poetry@v4 | |
| with: | |
| poetry-version: ${{ env.POETRY_VERSION }} | |
| - name: Resolve dependencies | |
| run: poetry export -f requirements.txt --without-hashes --output requirements.txt | |
| - 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__)" |