Files
i18n-key-sync/.gitea/workflows/ci.yml
7000pctAUTO b31e113cd1
Some checks failed
CI / test (push) Failing after 5s
fix: use minimal native Gitea Actions syntax
2026-02-02 04:12:46 +00:00

22 lines
545 B
YAML

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- run: |
git clone --depth 1 https://${{ gitea.server }}/${{ gitea.repository }} .
git fetch --depth=1 origin ${{ gitea.sha }}
git checkout ${{ gitea.sha }}
- run: |
python3 -m pip install --upgrade pip
python3 -m pip install pytest ruff
python3 -m pip install -e ".[dev]"
- run: python3 -m pytest tests/ -v --tb=short
- run: python3 -m ruff check i18n_key_sync/ tests/