diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 1514dea..c779fff 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -47,17 +47,17 @@ jobs: - name: Setup Python run: | - python3 -m venv .venv + python3 -m venv /tmp/ci-venv-test if [ -f pyproject.toml ]; then - .venv/bin/pip install --quiet -e ".[dev]" + /tmp/ci-venv-test/bin/pip install --quiet -e ".[dev]" else - echo "No pyproject.toml, skipping dev install" + /tmp/ci-venv-test/bin/pip install --quiet pytest fi - name: Run tests (exclude E2E) run: | if [ -d tests ]; then - .venv/bin/pytest tests/ -m "not e2e" -x -q + /tmp/ci-venv-test/bin/pytest tests/ -m "not e2e" -x -q else echo "No tests/ directory, skipping tests" fi