Files
git-commit-message-generator/.gitea/workflows/ci.yml
2026-02-04 19:14:58 +00:00

25 lines
526 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: Run tests and linting
run: |
python -m pip install --upgrade pip
cd app
pip install -e ".[dev]"
python -m pytest tests/ -v --cov=src --cov-report=term-missing
pip install ruff
ruff check src/