Skip to content

Merge pull request #76 from ivan-borovets/rm-deps #290

Merge pull request #76 from ivan-borovets/rm-deps

Merge pull request #76 from ivan-borovets/rm-deps #290

Workflow file for this run

name: CI
on: [ push, pull_request ]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Install dependencies
run: uv pip install -e '.[dev,test]' --system
- name: Check code
run: make code.check
- name: Test Docker Compose setup
run: |
export APP_ENV=local
python config/toml_config_manager.py
cd config/local
export COMPOSE_ENV_FILES=.env.local
docker compose up -d --build
- name: Verify Application Health
run: |
timeout 10s bash -s <<'BASH'
while ! curl -sf http://127.0.0.1:9999/api/v1/health; do
sleep 1
done
BASH
- name: Test Signup Handler
run: |
curl -f --json @- http://127.0.0.1:9999/api/v1/account/signup <<'JSON'
{
"username": "string",
"password": "string"
}
JSON