Files
confgen/.gitea/workflows/ci.yml
7000pctAUTO 9791c40d0c
Some checks failed
CI / test (push) Failing after 1s
Use native shell commands in CI
2026-02-01 21:02:08 +00:00

32 lines
640 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
run: git checkout ${{ github.sha }}
- name: Set up Python
run: |
apt-get update && apt-get install -y python3 python3-pip
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Run tests
run: python3 -m pytest tests/ -v --tb=short
- name: Run ruff linting
run: |
pip install ruff
ruff check src/confgen/ tests/