3737 run :
3838 shell : bash
3939
40- env :
41- PIP_DISABLE_PIP_VERSION_CHECK : 1
42-
4340 steps :
4441 - uses : actions/checkout@v5
4542 with :
@@ -65,18 +62,17 @@ jobs:
6562 echo "$(brew --prefix "$POSTGRES_FORMULA")/bin" >> $GITHUB_PATH
6663
6764 - name : Set up Python ${{ matrix.python-version }}
68- uses : actions /setup-python@v6
65+ uses : astral-sh /setup-uv@v7
6966 if : " !steps.release.outputs.is_release"
7067 with :
7168 python-version : ${{ matrix.python-version }}
69+ activate-environment : true
7270
7371 - name : Install Python Deps
7472 if : " !steps.release.outputs.is_release"
7573 run : |
7674 [ "$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 .
75+ uv pip install -e . --group test
8076
8177 - name : Test
8278 if : " !steps.release.outputs.is_release"
9894
9995 permissions : {}
10096
101- env :
102- PIP_DISABLE_PIP_VERSION_CHECK : 1
103-
10497 steps :
10598 - uses : actions/checkout@v5
10699 with :
@@ -129,19 +122,17 @@ jobs:
129122 echo PGINSTALLATION="/usr/lib/postgresql/${PGVERSION}/bin" \
130123 >> "${GITHUB_ENV}"
131124
132- - name : Set up Python ${{ matrix.python-version }}
133- uses : actions /setup-python@v6
125+ - name : Set up Python
126+ uses : astral-sh /setup-uv@v7
134127 if : " !steps.release.outputs.is_release"
135128 with :
136- python-version : " 3.x "
129+ activate-environment : true
137130
138131 - name : Install Python Deps
139132 if : " !steps.release.outputs.is_release"
140133 run : |
141134 [ "$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 .
135+ uv pip install -e . --group test
145136
146137 - name : Test
147138 if : " !steps.release.outputs.is_release"
0 commit comments