diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 8f93d41..bd0f8b6 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -31,11 +31,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: | set -o pipefail @@ -45,4 +48,4 @@ jobs: with: verbose: true token: ${{ secrets.CODECOV_TOKEN }} - file: coverage.xml + file: coverage.xml \ No newline at end of file diff --git a/.github/workflows/typing_checker.yaml b/.github/workflows/typing_checker.yaml index 4526132..647b550 100644 --- a/.github/workflows/typing_checker.yaml +++ b/.github/workflows/typing_checker.yaml @@ -18,15 +18,14 @@ jobs: uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - cache: 'pip' - cache-dependency-path: | - **/requirement.txt - **/test-requirement.txt - - 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: Running static types checker. run: | mypy \ No newline at end of file