Files
enduro-trails/.gitea/workflows/ci.yml
claude-bot 76ff0c6587
Some checks failed
CI / lint (push) Failing after 16s
CI / test (push) Failing after 2s
CI / build (push) Has been skipped
CI / lint (pull_request) Failing after 3s
CI / test (pull_request) Failing after 2s
CI / build (pull_request) Has been skipped
feat: add pyproject.toml, dev dependencies, first unit test
2026-05-15 17:05:46 +03:00

35 lines
659 B
YAML

name: CI
on:
push:
branches: [feature/**, bugfix/**, hotfix/**]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
container:
image: python:3.12
steps:
- uses: actions/checkout@v4
- run: pip install -e ".[dev]"
- run: ruff check src/
test:
runs-on: ubuntu-latest
container:
image: python:3.12
steps:
- uses: actions/checkout@v4
- run: pip install -e ".[dev]"
- run: pytest tests/
build:
runs-on: ubuntu-latest
container:
image: python:3.12
needs: [lint, test]
steps:
- uses: actions/checkout@v4
- run: docker build .