@@ -11,7 +11,7 @@ defaults:
11
11
shell : bash -l {0}
12
12
13
13
jobs :
14
- build :
14
+ lint :
15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- name : Checkout
@@ -24,27 +24,41 @@ jobs:
24
24
environment-file : environment.yml
25
25
cache-environment : true
26
26
27
- - name : Dev install
27
+ - name : Lint
28
28
run : |
29
29
set -eux
30
30
jlpm
31
31
jlpm run build
32
32
jlpm run eslint:check
33
+
34
+ build :
35
+ runs-on : ubuntu-latest
36
+ steps :
37
+ - name : Checkout
38
+ uses : actions/checkout@v2
39
+
40
+ - name : Install Conda environment with Micromamba
41
+ uses : mamba-org/setup-micromamba@v1
42
+ with :
43
+ micromamba-version : ' 1.5.1-0'
44
+ environment-file : environment.yml
45
+ cache-environment : true
46
+
47
+ - name : Dev install
48
+ run : |
49
+ set -eux
33
50
python -m pip install -v .
34
51
jupyter labextension list 2>&1 | grep -ie "@jupyterlite/xeus-python-kernel.*OK"
35
52
36
53
- name : Build the extension
37
54
run : |
38
55
pip install build
39
- python -m build --sdist
40
- cp dist/*.tar.gz jupyterlite-xeus-python.tar.gz
41
- pip uninstall -y jupyterlite-xeus-python jupyterlab
42
- rm -rf jupyterlite-xeus-python
56
+ python -m build
43
57
44
58
- uses : actions/upload-artifact@v2
45
59
with :
46
- name : jupyterlite-xeus-python-sdist
47
- path : jupyterlite-xeus-python.tar.gz
60
+ name : jupyterlite-xeus-python-dist
61
+ path : dist
48
62
49
63
test_isolated :
50
64
needs : build
85
99
- uses : actions/download-artifact@v2
86
100
with :
87
101
name : jupyterlite-xeus-python-sdist
88
-
102
+
89
103
- name : Install Conda environment with Micromamba
90
104
uses : mamba-org/setup-micromamba@v1
91
105
with :
@@ -116,7 +130,7 @@ jobs:
116
130
- uses : actions/download-artifact@v2
117
131
with :
118
132
name : jupyterlite-xeus-python-sdist
119
-
133
+
120
134
- name : Install Conda environment with Micromamba
121
135
uses : mamba-org/setup-micromamba@v1
122
136
with :
0 commit comments