install wheel #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
- push | |
- pull_request | |
- workflow_dispatch | |
jobs: | |
build: | |
# runs-on: ubuntu-20.04 | |
runs-on: ubuntu-latest | |
# strategy: | |
# fail-fast: false | |
# matrix: | |
# python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "14.x" | |
registry-url: "https://registry.npmjs.org" | |
- name: Install Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.x" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install twine wheel jupyter-packaging jupyterlab | |
- name: Build | |
run: | | |
python setup.py sdist bdist_wheel | |
- name: Archive code coverage results | |
uses: actions/upload-artifact@v3 | |
with: | |
name: dist | |
path: dist | |
- name: Install | |
run: pip install `find dist -name "*whl" |head -n1` | |
- name: Import | |
run: python -c "from ipyvuetify import Btn" |