Skip to content

Commit aeb0116

Browse files
committed
win support
1 parent 4ffad5b commit aeb0116

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,16 @@ jobs:
5252
- name: Test install from sdist (.tar.gz)
5353
run: |
5454
python -m venv venv-sdist
55-
venv-sdist/bin/python -m pip install dist/*.tar.gz
56-
venv-sdist/bin/python -c "import pinyin_to_ipa"
55+
source venv-sdist/bin/activate || .\venv-sdist\Scripts\activate
56+
python -m pip install dist/*.tar.gz
57+
time python -c "import pinyin_to_ipa"
5758
pytest -n auto
59+
deactivate
5860
5961
- name: Test install from wheel (.whl)
6062
run: |
6163
python -m venv venv-wheel
62-
venv-wheel/bin/python -m pip install dist/*.whl
63-
venv-wheel/bin/python -c "import pinyin_to_ipa"
64+
source venv-wheel/bin/activate || .\venv-wheel\Scripts\activate
65+
python -m pip install dist/*.whl
66+
time python -c "import pinyin_to_ipa"
67+
deactivate

0 commit comments

Comments
 (0)