build(deps-dev): bump ruff from 0.8.6 to 0.9.0 #604
This file contains 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@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
architecture: x64 | |
- uses: abatilo/actions-poetry@v3 | |
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.8, 3.9, '3.10', 3.11, 3.12] | |
exclude: | |
- os: macos-latest | |
python: 3.8 | |
- os: macos-latest | |
python: 3.9 | |
- os: macos-latest | |
python: '3.10' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
architecture: x64 | |
- uses: astral-sh/setup-uv@v5 | |
with: | |
version: ${{ env.UV_VERSION }} | |
- name: Install project | |
run: | | |
uv pip install --system -e client/. | |
python -c "import pyroclient; print(pyroclient.__version__)" |