Skip to content

Commit 680a672

Browse files
committed
Try setting tcl library path in CI
Signed-off-by: John Strunk <[email protected]>
1 parent ad3458b commit 680a672

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/test.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,9 @@ jobs:
5252
python -c "import site; print(site.USER_SITE.replace('site-packages', 'Scripts'))" >> %GITHUB_PATH%
5353
chcp 1252
5454
55-
- name: Install pipx
56-
shell: cmd
57-
run: python -m pip install pipx
58-
5955
- name: Install pre-commit
6056
shell: cmd
61-
run: pipx install pre-commit
57+
run: python -m pip install pre-commit
6258

6359
- name: Install pre-commit hooks
6460
shell: cmd
@@ -177,6 +173,10 @@ jobs:
177173
python -c "import site; print(site.USER_SITE.replace('site-packages', 'Scripts'))" >> %GITHUB_PATH%
178174
chcp 1252
179175
176+
- name: Set tcl path
177+
shell: cmd
178+
run: python -c "import site; import os; print("TCL_LIBRARY=" + os.path.join(site.PREFIXES[0], 'tcl', 'tcl8.6'))" >> %GITHUB_ENV%
179+
180180
- name: Initialize virtual environment
181181
shell: cmd
182182
run: uv sync --locked

0 commit comments

Comments
 (0)