Skip to content
This repository was archived by the owner on Feb 11, 2023. It is now read-only.

Commit f8dc014

Browse files
committed
CI: install whl on Win
1 parent 15ecc5c commit f8dc014

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.github/workflows/ci_pkg-install.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ jobs:
3939
strategy:
4040
fail-fast: false
4141
matrix:
42-
os: [ubuntu-20.04, macOS-10.15] # , windows-2019
43-
python-version: [3.7]
44-
42+
os: [ubuntu-20.04, macOS-10.15, windows-2019]
43+
python-version: [3.8]
4544
steps:
4645
- uses: actions/checkout@master
4746
- uses: actions/setup-python@v2
@@ -50,14 +49,11 @@ jobs:
5049

5150
- name: Create package
5251
run: |
53-
python setup.py sdist
52+
pip install cython setuptools wheel
53+
python setup.py sdist bdist_wheel
5454
5555
- name: Install package
56+
working-directory: ./dist
5657
run: |
57-
pip install virtualenv
58-
virtualenv vEnv
59-
source vEnv/bin/activate
60-
pip install dist/*
61-
cd .. & python -c "import birl ; print(birl.__version__)"
62-
deactivate
63-
rm -rf vEnv
58+
pip install $(python -c "import glob ; pkg = glob.glob('*.whl')[0] ; print(pkg)")
59+
python -c "import birl ; print(birl.__version__)"

0 commit comments

Comments
 (0)