Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check CI test #250

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
33 changes: 24 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
name: Build

on:
on:
- push
- pull_request
- workflow_dispatch

jobs:
build:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11"]
# 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
Expand All @@ -30,8 +31,22 @@ jobs:
pip install twine wheel jupyter-packaging jupyterlab
- name: Build
run: |
python setup.py bdist_wheel
python setup.py sdist bdist_wheel
- name: Import b4
run: pwd; python -c "from ipyvuetify import Btn"
continue-on-error: true
- name: Archive code coverage results
uses: actions/upload-artifact@v3
with:
name: dist
path: dist
- name: Install
run: pip install dist/*.whl
run: pip install `find dist -name "*whl" |head -n1`
- name: check
run: which python; which pip
- name: Import
run: python -c "from ipyvuetify import Btn"
run: (mkdir bla; cd bla; pwd; python -c "from ipyvuetify import Btn")
- name: show wheel
run: unzip -l `find dist -name "*whl" |head -n1`
- name: Set-up to fail
run: python -c "from ipyvuetify import Btnn"