Files
i18n-key-sync/.gitea/workflows/ci.yml
7000pctAUTO a700f76a36
Some checks failed
CI / test (push) Has been cancelled
fix: use gitea runner instead of ubuntu-latest
2026-02-02 04:08:17 +00:00

30 lines
641 B
YAML

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: gitea
steps:
- name: Checkout
run: |
git clone https://${{ gitea.server }}/${{ gitea.repository }} .
git checkout ${{ gitea.sha }}
- name: Setup Python
run: |
python3 -m pip install --upgrade pip
- name: Install dependencies
run: |
python3 -m pip install pytest ruff
python3 -m pip install -e ".[dev]"
- name: Run tests
run: |
python3 -m pytest tests/ -v --tb=short
- name: Lint
run: |
python3 -m ruff check i18n_key_sync/ tests/