Skip to content

Commit 1f5fbf3

Browse files
jtpiomartinRenou
andauthored
Move the lint check to a separate workflow (#42)
* Troubleshoot CI * Move lint check to a separate workflow * Revert CI triggering change Co-authored-by: martinRenou <martin.renou@gmail.com>
1 parent 3c7d326 commit 1f5fbf3

File tree

2 files changed

+27
-2
lines changed

2 files changed

+27
-2
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ jobs:
2626

2727
- name: Build the extension
2828
run: |
29-
jlpm
30-
jlpm lint:check
3129
python -m pip install .
3230
3331
jupyter labextension list 2>&1 | grep -ie "jupyterlab-filesystem-access.*OK"

.github/workflows/lint.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Lint
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches: '*'
9+
10+
defaults:
11+
run:
12+
shell: bash -l {0}
13+
14+
jobs:
15+
build:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v2
20+
21+
- name: Install Conda environment from environment.yml
22+
uses: mamba-org/provision-with-micromamba@main
23+
24+
- name: Lint
25+
run: |
26+
jlpm
27+
jlpm lint:check

0 commit comments

Comments
 (0)