File tree Expand file tree Collapse file tree 6 files changed +51
-191
lines changed Expand file tree Collapse file tree 6 files changed +51
-191
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]
19
+ python-version : [3.9]
20
+
21
+ steps :
22
+ - name : Checkout
23
+ uses : actions/checkout@v2
24
+
25
+ - name : Setup conda
26
+ uses : conda-incubator/setup-miniconda@v2
27
+ with :
28
+ mamba-version : " *"
29
+ channels : conda-forge
30
+
31
+ - name : Mamba install dependencies
32
+ shell : bash -l {0}
33
+ run : mamba install python=${{ matrix.python-version }} pip yarn ipywidgets=7.6 jupyterlab=3 pytest nbval
34
+
35
+ - name : Install sidecar
36
+ shell : bash -l {0}
37
+ run : pip install -e .
38
+
39
+ - name : Check installation files
40
+ shell : bash -l {0}
41
+ run : |
42
+ test -d $CONDA_PREFIX/share/jupyter/labextensions/@jupyter-widgets/jupyterlab-sidecar
43
+ test -f $CONDA_PREFIX/share/jupyter/labextensions/@jupyter-widgets/jupyterlab-sidecar/package.json
44
+
45
+ - name : Check labextension
46
+ shell : bash -l {0}
47
+ run : jupyter labextension list 2>&1 | grep -ie "@jupyter-widgets/jupyterlab-sidecar.*enabled.*ok" -
48
+
49
+ - name : Run notebooks
50
+ shell : bash -l {0}
51
+ run : pytest .
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments