Skip to content

Commit 5d439ea

Browse files
committed
Fix windows issues in ci.yml
1 parent 4790239 commit 5d439ea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,13 @@ jobs:
2121
if: matrix.os == 'windows-latest'
2222
run: |
2323
echo "PYTHONUTF8=1" >> $env:GITHUB_ENV
24+
echo "PYTHONIOENCODING=utf-8" >> $env:GITHUB_ENV
2425
chcp 65001
2526
shell: pwsh
2627
- name: Install tox and any other packages
2728
run: pip install tox
2829
- name: Run tox
2930
env:
3031
PYTHONUTF8: ${{ matrix.os == 'windows-latest' && '1' || '' }}
32+
PYTHONIOENCODING: ${{ matrix.os == 'windows-latest' && 'utf-8' || '' }}
3133
run: tox -e py

0 commit comments

Comments
 (0)