Files
git-commit-message-generator/.gitea/workflows/ci.yml
2026-02-04 18:00:27 +00:00

28 lines
607 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
cd app && pip install -e ".[dev]"
- name: Run tests
run: |
cd app && pytest tests/ -v --cov=src --cov-report=term-missing
- name: Check linting
run: |
pip install ruff
cd app && ruff check .