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

Commit

Permalink
CI: install whl on Win
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Jul 21, 2021
1 parent 15ecc5c commit f8dc014
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/ci_pkg-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, macOS-10.15] # , windows-2019
python-version: [3.7]

os: [ubuntu-20.04, macOS-10.15, windows-2019]
python-version: [3.8]
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v2
Expand All @@ -50,14 +49,11 @@ jobs:

- name: Create package
run: |
python setup.py sdist
pip install cython setuptools wheel
python setup.py sdist bdist_wheel
- name: Install package
working-directory: ./dist
run: |
pip install virtualenv
virtualenv vEnv
source vEnv/bin/activate
pip install dist/*
cd .. & python -c "import birl ; print(birl.__version__)"
deactivate
rm -rf vEnv
pip install $(python -c "import glob ; pkg = glob.glob('*.whl')[0] ; print(pkg)")
python -c "import birl ; print(birl.__version__)"

0 comments on commit f8dc014

Please sign in to comment.