Files
confgen/.gitea/workflows/ci.yml
7000pctAUTO f3e5f15d75
Some checks failed
CI / test (push) Failing after 6s
Update CI workflow with simpler syntax
2026-02-01 21:01:39 +00:00

33 lines
637 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
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 -e ".[dev]"
- name: Run tests
run: python -m pytest tests/ -v --tb=short
- name: Run ruff linting
run: pip install ruff && ruff check src/confgen/ tests/