Files
i18n-key-sync/.gitea/workflows/ci.yml
7000pctAUTO 906189e616
Some checks failed
CI / test (push) Failing after 6s
fix: resolve Gitea Actions CI/CD workflow configuration
2026-02-02 04:06:15 +00:00

35 lines
674 B
YAML

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