Skip to content

Commit

Permalink
CI: Force python utf-8 mode to avoid encoding problems on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
OSadovy committed Sep 24, 2023
1 parent 613f5f9 commit df4325c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ jobs:
uses: actions/download-artifact@v3
with: {name: python-distribution-files, path: dist/}
- name: Run tests
env:
PYTHONUTF8: 1
run: >-
pipx run --python '${{ steps.setup-python.outputs.python-path }}'
tox --installpkg '${{ needs.prepare.outputs.wheel-distribution }}'
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ setenv =
passenv =
HOME
SETUPTOOLS_*
PYTHONUTF8
extras =
testing
commands =
Expand Down

0 comments on commit df4325c

Please sign in to comment.