Skip to content

Client settings object #343

Client settings object

Client settings object #343

Workflow file for this run

name: Unit tests
on:
pull_request:
branches:
- main
- 'feature/**'
workflow_dispatch:
jobs:
run-unit-tests:
name: tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: "Set up Python"
uses: actions/setup-python@v5
with:
python-version-file: ".python-version"
- name: Install the project
run: uv sync --all-extras --dev
- name: Copy environment variables
run: cp environments/dev_docker.env .env
- name: Run DBs and API
run: |
docker compose up -d --wait
- name: Run pytest
run: |
uv run pytest
- name: Dump docker logs
if: failure()
uses: jwalton/gh-docker-logs@v2