From 906189e616a615111273301525e257ca368d1165 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Mon, 2 Feb 2026 04:06:15 +0000 Subject: [PATCH] fix: resolve Gitea Actions CI/CD workflow configuration --- .gitea/workflows/ci.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 3e57a67..fdce48e 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -14,18 +14,21 @@ jobs: steps: - name: Checkout code run: | - mkdir -p $HOME/.cache/pip - git clone https://github.com/${{ gitea.repository }} $HOME/repo - cd $HOME/repo + 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 + run: | + python3 -m pytest tests/ -v --tb=short - name: Run linting - run: python3 -m ruff check i18n_key_sync/ tests/ + run: | + python3 -m ruff check i18n_key_sync/ tests/