Skip to content

Commit

Permalink
Updates pip to uv.
Browse files Browse the repository at this point in the history
  • Loading branch information
ohachimOs committed Jul 25, 2024
1 parent 0c5d1d9 commit f8cf04f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,15 @@ 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 requirements.txt
python -m pip install -r tests/requirements.txt
python -m pip install uv
- name: Install dependencies.
run: |
python -m uv pip install -r requirements.txt
python -m uv pip install -r tests/requirements.txt
- name: Runnning tests with pytest.
run: |
set -o pipefail
pytest -m "not docker"
pytest -m "not docker"
13 changes: 6 additions & 7 deletions .github/workflows/typing_checker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,14 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: |
**/requirements.txt
**/typing-requirements.txt
- name: Install dependencies.
- name: Install UV
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python -m pip install -r typing-requirements.txt
python -m pip install uv
- name: Install dependencies.
run: |
python -m uv pip install -r requirements.txt
python -m uv pip install -r typing-requirements.txt
- name: Running static types checker.
run: |
mypy

0 comments on commit f8cf04f

Please sign in to comment.