Skip to content

Commit 5b168da

Browse files
committed
chore(ci): Add type-inference job, use tox-uv
1 parent a2df9d4 commit 5b168da

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.github/workflows/test.yml

+7-11
Original file line numberDiff line numberDiff line change
@@ -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)