File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -52,12 +52,16 @@ jobs:
52
52
- name : Test install from sdist (.tar.gz)
53
53
run : |
54
54
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"
57
58
pytest -n auto
59
+ deactivate
58
60
59
61
- name : Test install from wheel (.whl)
60
62
run : |
61
63
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
You can’t perform that action at this time.
0 commit comments