Skip to content

feat: Introduce internationalization (i18n) with multi-language suppo… #2

feat: Introduce internationalization (i18n) with multi-language suppo…

feat: Introduce internationalization (i18n) with multi-language suppo… #2

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
push:
branches: [main]
permissions:
contents: read
jobs:
lint-and-test:
name: Lint & Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: pip
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install ruff pytest pytest-asyncio httpx
- name: Lint with Ruff
run: ruff check app/
- name: Run tests
run: pytest tests/ -v --tb=short || echo "No tests found, skipping"
docker-build:
name: Docker Build Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Docker image (test)
uses: docker/build-push-action@v6
with:
context: .
push: false
tags: x-postgres-backup:test
cache-from: type=gha
cache-to: type=gha,mode=max