Skip to content

Commit 297e8e9

Browse files
committed
chore(ci): Add type-inference job, use tox-uv
1 parent 3f97d53 commit 297e8e9

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

.github/workflows/test.yml

+8-12
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ jobs:
188188
submodules: recursive
189189
fetch-depth: 0
190190
- name: Install the latest version of uv
191-
uses: astral-sh/setup-uv@v4
191+
uses: astral-sh/setup-uv@v5
192192
- name: Set up Python ${{ matrix.python-version }}
193193
if: "!endsWith(matrix.python-version, 't')"
194194
uses: actions/setup-python@v5
@@ -239,22 +239,18 @@ jobs:
239239
continue-on-error: true
240240
strategy:
241241
matrix:
242-
check: ['style', 'doctest', 'typecheck', 'spellcheck']
242+
check: ['style', 'doctest', 'typecheck', 'spellcheck', 'type-inference']
243243

244244
steps:
245245
- uses: actions/checkout@v4
246-
- name: Set up Python ${{ matrix.python-version }}
247-
uses: actions/setup-python@v5
248-
with:
249-
python-version: 3
250-
- name: Display Python version
251-
run: python -c "import sys; print(sys.version)"
246+
- name: Install the latest version of uv
247+
uses: astral-sh/setup-uv@v5
248+
- name: Install tox
249+
run: uv tool install tox --with=tox-uv
252250
- name: Show tox config
253-
run: pipx run tox c
254-
- name: Show tox config (this call)
255-
run: pipx run tox c -e ${{ matrix.check }}
251+
run: tox c -e ${{ matrix.check }}
256252
- name: Run check
257-
run: pipx run tox -e ${{ matrix.check }}
253+
run: tox -e ${{ matrix.check }}
258254

259255
publish:
260256
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)