@@ -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"
9392 strategy :
9493 matrix :
9594 postgres-version : ["9.5", "9.6", "10", "11", "12", "13", "14", "15", "16", "17", "18"]
95+ python-version : ["3.x"]
9696
9797 runs-on : ubuntu-latest
9898
@@ -130,18 +130,17 @@ jobs:
130130 >> "${GITHUB_ENV}"
131131
132132 - name : Set up Python ${{ matrix.python-version }}
133- uses : actions /setup-python@v6
133+ uses : astral-sh /setup-uv@v7
134134 if : " !steps.release.outputs.is_release"
135135 with :
136- python-version : " 3.x"
136+ python-version : ${{ matrix.python-version }}
137+ activate-environment : true
137138
138139 - name : Install Python Deps
139140 if : " !steps.release.outputs.is_release"
140141 run : |
141142 [ "$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 .
143+ uv pip install -e . --group test
145144
146145 - name : Test
147146 if : " !steps.release.outputs.is_release"
0 commit comments