From 390a258b294fe8014363def1be6549f5e1917d99 Mon Sep 17 00:00:00 2001 From: ohachimOs Date: Thu, 25 Jul 2024 17:29:43 +0100 Subject: [PATCH] Updates pip to uv. --- .github/workflows/pytest.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 3a63815..eb5578c 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -28,11 +28,14 @@ jobs: uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - - name: Install dependencies. + - name: Install UV run: | python -m pip install --upgrade pip - python -m pip install -r requirement.txt - python -m pip install -r tests/test-requirement.txt + python -m pip install uv + - name: Install dependencies. + run: | + python -m uv pip install -r requirement.txt + python -m uv pip install -r tests/test-requirement.txt - name: Runnning tests with pytest. run: | pytest -m "not docker" --cov=./ --cov-report=xml:coverage.xml --cov-report=term-missing @@ -41,4 +44,4 @@ jobs: with: verbose: true token: ${{ secrets.CODECOV_TOKEN }} - file: coverage.xml + file: coverage.xml \ No newline at end of file