Files
confsync/.gitea/workflows/ci.yml
7000pctAUTO 14a4656fd9
Some checks failed
CI / test (push) Failing after 10s
fix: simplify CI workflow and install deps directly
2026-02-04 20:15:27 +00:00

35 lines
755 B
YAML

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pyyaml rich gitpython cryptography typer toml configparser pathlib2
pip install pytest-cov ruff mypy
- name: Run tests
run: pytest confsync/tests/ -v
- name: Run linting
run: ruff check confsync/
- name: Check types
run: mypy confsync/ --ignore-missing-imports