Skip to content

Commit

Permalink
test-fix(windows actions): move encoding utf8 env var
Browse files Browse the repository at this point in the history
  • Loading branch information
sqr00t committed Sep 28, 2023
1 parent f87d175 commit 5f65ee1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,16 @@ jobs:
- name: (windows) Install dependencies
if: runner.os == 'windows'
shell: cmd
shell: bash
env:
PYTHONIOENCODING: utf-8
run: |
python -m pip install --upgrade pip
pip install -r requirements_dev.txt
python -m spacy download en_core_web_sm
set PYTHONIOENCODING=utf-8
pip install -e ."[test]"
- name: (windows) Test with pytest
if: runner.os == 'windows'
shell: cmd
shell: bash
run: |
pytest --verbose

0 comments on commit 5f65ee1

Please sign in to comment.