Files
git-commit-message-generator/.gitea/workflows/ci.yml
7000pctAUTO 6dfa82e092
Some checks failed
CI / test (push) Failing after 13s
Fix CI: add linting with pip install ruff
2026-02-04 19:01:27 +00:00

30 lines
544 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: |
cd app
pip install -e ".[dev]"
- name: Run tests
run: |
cd app
pytest tests/ -v
- name: Run linting
run: |
cd app
pip install ruff
ruff check .