fix: simplify Gitea Actions workflow for better compatibility
Some checks failed
CI / test (push) Failing after 5s

This commit is contained in:
2026-02-02 04:07:11 +00:00
parent 906189e616
commit 03cf8dfff3

View File

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