From dd78ee44ad4f45afdb97829b0650ad66a62379ad Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Thu, 9 Jan 2025 09:51:42 +0100 Subject: [PATCH] [CI] Speed up install phase by using uv --- .github/workflows/pytest.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 36981809..8d0373d0 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -30,17 +30,14 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + uses: astral-sh/setup-uv@v5 - name: Install run: | - python -m pip install --upgrade pip - pip install wheel - pip install . - pip install pytest - pip install pytest-cov - pip install pytest-benchmark - pip install hypothesis - pip freeze + uv pip install wheel + uv pip install . + uv pip install pytest pytest-cov pytest-benchmark hypothesis + uv pip freeze - name: Run tests run: pytest --cov=pyerrors -vv