From 808c6cf623adb62bc08c8cf4d9e04c722c571416 Mon Sep 17 00:00:00 2001 From: ohachimOs Date: Thu, 25 Jul 2024 17:19:24 +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 7e5c974..d52a1f8 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -30,11 +30,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 @@ -43,4 +46,4 @@ jobs: with: verbose: true token: ${{ secrets.CODECOV_TOKEN }} - file: coverage.xml + file: coverage.xml \ No newline at end of file