diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 125e34f..7f02c6b 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -13,6 +13,8 @@ jobs: - name: Install Python and tools run: | apk add --no-cache python3 py3-pip git + python3 -m venv /opt/venv + echo "/opt/venv/bin" >> "$GITHUB_PATH" - name: Checkout run: | @@ -23,14 +25,14 @@ jobs: - name: Install dependencies run: | - python3 -m pip install --upgrade pip - python3 -m pip install --break-system-packages -e ".[dev]" + python -m pip install --upgrade pip + python -m pip install -e ".[dev]" - name: Lint (ruff) - run: python3 -m ruff check src tests + run: ruff check src tests - name: Typecheck (mypy) - run: python3 -m mypy src + run: mypy src - name: Tests (pytest + coverage) - run: python3 -m pytest -v --cov=selectel_ml_tui --cov-report=term-missing \ No newline at end of file + run: python -m pytest -v --cov=selectel_ml_tui --cov-report=term-missing \ No newline at end of file