diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9f66924..fc9469a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,7 +42,11 @@ jobs: - uses: actions/setup-python@v5 with: python-version: "3.11" + - name: Create virtual environment + run: python -m venv .venv - name: Install dependencies - run: pip install -e ".[dev]" + run: | + .venv/bin/python -m pip install --upgrade pip + .venv/bin/python -m pip install -e ".[dev]" - name: Run tests - run: pytest -q + run: .venv/bin/pytest -q