File tree Expand file tree Collapse file tree 2 files changed +43
-28
lines changed
Expand file tree Collapse file tree 2 files changed +43
-28
lines changed Original file line number Diff line number Diff line change 1+ name : Tests
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+ branches :
9+ - master
10+
11+ jobs :
12+ run :
13+ runs-on : ${{ matrix.os }}
14+
15+ strategy :
16+ fail-fast : false
17+ matrix :
18+ os : [ubuntu-latest, macos-latest, windows-latest]
19+ python-version : [3.6, 3.7, 3.8]
20+
21+ steps :
22+ - name : Checkout
23+ uses : actions/checkout@v1
24+
25+ - name : Setup conda
26+ uses : s-weigand/setup-conda@v1
27+ with :
28+ auto-update-conda : true
29+ update-conda : true
30+ conda-channels : conda-forge
31+
32+ - name : Conda install dependencies
33+ run : conda install python=${{ matrix.python-version }} pip nodejs ipywidgets jupyter jupyterlab pillow flake8
34+
35+ - name : Install ipycanvas
36+ run : pip install -e .
37+
38+ - name : Install labextension (Only on Ubuntu for build speed)
39+ if : matrix.os == 'ubuntu-latest'
40+ run : jupyter labextension install .
41+
42+ - name : Test flake8
43+ run : flake8 ipycanvas --ignore=E501
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments