Skip to content

Commit

Permalink
CI: special setup for Python 3.7/Windows environment, setting unicode…
Browse files Browse the repository at this point in the history
… encoding to utf-8
  • Loading branch information
neomatrix369 committed Mar 13, 2023
1 parent 70be76b commit 364be06
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/end-to-end-flow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,11 @@ jobs:
if: matrix.os != 'windows-latest'

- name: install-line-profiler-on-windows-python-3.7
run: python -m pip install line-profiler@https://github.com/neomatrix369/nlp_profiler/releases/download/v0.0.2-dev/line_profiler-3.2.6-cp37-cp37m-win_amd64.whl
run: |
### https://stackoverflow.com/questions/5419/python-unicode-and-the-windows-console
set PYTHONIOENCODING="utf-8"
pip install win-unicode-console
python -m pip install line-profiler@https://github.com/neomatrix369/nlp_profiler/releases/download/v0.0.2-dev/line_profiler-3.2.6-cp37-cp37m-win_amd64.whl
if: matrix.python-version == '3.7' && matrix.os == 'windows-latest'

- name: install-line-profiler-on-windows-python-3.8
Expand Down

0 comments on commit 364be06

Please sign in to comment.