Files
i18n-key-sync/.gitea/workflows/ci.yml
7000pctAUTO 89ae374ade
Some checks failed
CI / test (push) Failing after 5s
fix: add verification steps to diagnose test failure
2026-02-02 04:21:39 +00:00

33 lines
788 B
YAML

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
run: |
git clone https://${{ gitea.server }}/${{ gitea.repository }} .
git checkout ${{ gitea.sha }}
- name: Verify structure
run: |
ls -la
ls -la i18n_key_sync/
ls -la tests/
- name: Install deps
run: |
python3 -m pip install --upgrade pip -q
python3 -m pip install pytest ruff -q
- name: Quick test
run: |
python3 -c "import i18n_key_sync; print('Import OK')"
python3 -c "from i18n_key_sync.cli import main; print('CLI OK')"
- name: Run pytest
run: |
python3 -m pytest tests/ -v --tb=short 2>&1 | head -100