Files
i18n-key-sync/.gitea/workflows/ci.yml
7000pctAUTO 64f4f7a47a
Some checks failed
CI / test (push) Failing after 14s
fix: use GitHub Actions syntax compatible with Gitea
2026-02-02 04:32:42 +00:00

33 lines
770 B
YAML

name: CI
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install pytest ruff click pyyaml rich
python3 -m pip install -e .
- name: Run tests
run: |
python3 -m pytest tests/ -v --tb=short
- name: Run linting
run: |
python3 -m ruff check i18n_key_sync/ tests/