From 4a7d4144c6e9a0415b95291499ee9cd92846bce0 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Wed, 4 Feb 2026 21:37:36 +0000 Subject: [PATCH] fix: resolve CI apt-get pip installation issues Use 'python -m pip' and 'python -m pytest' commands for better compatibility with Gitea Actions environment --- .gitea/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index f06f964..928d88f 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -21,11 +21,11 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip setuptools wheel - pip install pytest pytest-cov - pip install -e . + python -m pip install pytest pytest-cov + python -m pip install -e . - name: Run tests - run: pytest confsync/tests/ -v --tb=short + run: python -m pytest confsync/tests/ -v --tb=short lint: runs-on: ubuntu-latest @@ -39,10 +39,10 @@ jobs: cache: 'pip' - name: Install ruff - run: pip install ruff + run: python -m pip install ruff - name: Run ruff - run: ruff check . + run: python -m ruff check . typecheck: runs-on: ubuntu-latest @@ -56,7 +56,7 @@ jobs: cache: 'pip' - name: Install mypy - run: pip install mypy + run: python -m pip install mypy - name: Run mypy - run: mypy confsync/ --ignore-missing-imports + run: python -m mypy confsync/ --ignore-missing-imports \ No newline at end of file