Skip to content
This repository was archived by the owner on Feb 14, 2024. It is now read-only.

Commit 0e5184f

Browse files
committed
Debug CI
1 parent 1abe513 commit 0e5184f

File tree

1 file changed

+24
-10
lines changed

1 file changed

+24
-10
lines changed

.github/workflows/build.yml

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ defaults:
1111
shell: bash -l {0}
1212

1313
jobs:
14-
build:
14+
lint:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout
@@ -24,27 +24,41 @@ jobs:
2424
environment-file: environment.yml
2525
cache-environment: true
2626

27-
- name: Dev install
27+
- name: Lint
2828
run: |
2929
set -eux
3030
jlpm
3131
jlpm run build
3232
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
3350
python -m pip install -v .
3451
jupyter labextension list 2>&1 | grep -ie "@jupyterlite/xeus-python-kernel.*OK"
3552
3653
- name: Build the extension
3754
run: |
3855
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
4357
4458
- uses: actions/upload-artifact@v2
4559
with:
46-
name: jupyterlite-xeus-python-sdist
47-
path: jupyterlite-xeus-python.tar.gz
60+
name: jupyterlite-xeus-python-dist
61+
path: dist
4862

4963
test_isolated:
5064
needs: build
@@ -85,7 +99,7 @@ jobs:
8599
- uses: actions/download-artifact@v2
86100
with:
87101
name: jupyterlite-xeus-python-sdist
88-
102+
89103
- name: Install Conda environment with Micromamba
90104
uses: mamba-org/setup-micromamba@v1
91105
with:
@@ -116,7 +130,7 @@ jobs:
116130
- uses: actions/download-artifact@v2
117131
with:
118132
name: jupyterlite-xeus-python-sdist
119-
133+
120134
- name: Install Conda environment with Micromamba
121135
uses: mamba-org/setup-micromamba@v1
122136
with:

0 commit comments

Comments
 (0)