From 68fda8bad6486bdd78075c2ce5fa629740cc793a Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Mon, 2 Feb 2026 23:44:53 +0000 Subject: [PATCH] fix: use python -m for mypy and pytest in CI to avoid PATH issues --- .gitea/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index ba257fa..4daabdc 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -31,10 +31,10 @@ jobs: run: ruff check . - name: Type check with mypy - run: mypy src/ --python-version 3.10 + run: python -m mypy src/ --python-version 3.10 - name: Run tests - run: pytest tests/ -v --cov=src --cov-report=xml + run: python -m pytest tests/ -v --cov=src --cov-report=xml - name: Upload coverage if: matrix.python-version == '3.11'