Files
config-auditor-cli/.gitea/workflows/ci.yml
7000pctAUTO 583229af05
Some checks failed
CI / test (push) Has been cancelled
Add Gitea Actions workflow: ci.yml
2026-01-30 18:30:13 +00:00

34 lines
663 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install pytest pytest-cov ruff build
- name: Run linting
run: ruff check config_auditor/ tests/
- name: Run tests
run: pytest tests/ -v --cov=config_auditor
- name: Build package
run: python -m build