Skip to content

feat(ci): add minimal GitHub workflow and document template structure #1

feat(ci): add minimal GitHub workflow and document template structure

feat(ci): add minimal GitHub workflow and document template structure #1

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
build-and-check:
runs-on: ubuntu-latest
env:
DOCKER_PLATFORM: linux/amd64
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Set up Buildx
uses: docker/setup-buildx-action@v3
- name: Build dev and app images
run: docker compose build dev app
- name: Ruff lint
run: docker compose run --rm dev ruff check .
- name: Ruff format check
run: docker compose run --rm dev ruff format --check .
- name: Run tests
run: docker compose run --rm dev pytest -q