diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 8a4e9ca..e8644e7 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -29,11 +29,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: Running tests with pytest. run: | pytest --cov=./ --cov-report=xml:coverage.xml --cov-report=term-missing @@ -42,4 +45,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