@@ -65,18 +65,17 @@ jobs:
6565 echo "$(brew --prefix "$POSTGRES_FORMULA")/bin" >> $GITHUB_PATH
6666
6767 - name : Set up Python ${{ matrix.python-version }}
68- uses : actions /setup-python@v6
68+ uses : astral-sh /setup-uv@v7
6969 if : " !steps.release.outputs.is_release"
7070 with :
7171 python-version : ${{ matrix.python-version }}
72+ activate-environment : true
7273
7374 - name : Install Python Deps
7475 if : " !steps.release.outputs.is_release"
7576 run : |
7677 [ "$RUNNER_OS" = "Linux" ] && .github/workflows/install-krb5.sh
77- python -m pip install -U pip setuptools wheel
78- python -m pip install --group test
79- python -m pip install -e .
78+ uv pip install -e . --group test
8079
8180 - name : Test
8281 if : " !steps.release.outputs.is_release"
@@ -129,19 +128,17 @@ jobs:
129128 echo PGINSTALLATION="/usr/lib/postgresql/${PGVERSION}/bin" \
130129 >> "${GITHUB_ENV}"
131130
132- - name : Set up Python ${{ matrix.python-version }}
133- uses : actions /setup-python@v6
131+ - name : Set up Python
132+ uses : astral-sh /setup-uv@v7
134133 if : " !steps.release.outputs.is_release"
135134 with :
136- python-version : " 3.x "
135+ activate-environment : true
137136
138137 - name : Install Python Deps
139138 if : " !steps.release.outputs.is_release"
140139 run : |
141140 [ "$RUNNER_OS" = "Linux" ] && .github/workflows/install-krb5.sh
142- python -m pip install -U pip setuptools wheel
143- python -m pip install --group test
144- python -m pip install -e .
141+ uv pip install -e . --group test
145142
146143 - name : Test
147144 if : " !steps.release.outputs.is_release"
0 commit comments