Skip to content

Commit af20895

Browse files
committed
only lint on ubuntu
1 parent f35d0fe commit af20895

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,13 @@ jobs:
4141
working-directory: jupyter-widget-testwidgets
4242
run: |
4343
python -m pytest
44-
yarn run lint:check
4544
yarn run test
4645
46+
- name: Linting
47+
if: ${{ matrix.os == 'ubuntu-latest' }}
48+
run: |
49+
yarn run lint:check
50+
4751
- name: Validate extension usage
4852
working-directory: jupyter-widget-testwidgets
4953
run: |

{{cookiecutter.github_project_name}}/.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,13 @@ jobs:
2828
run: |
2929
python -m pip install --upgrade -v -e ".[test, examples, docs]"
3030
python -m pytest
31-
yarn run lint:check
3231
yarn run test
3332
33+
- name: Linting
34+
if: ${{ matrix.os == 'ubuntu-latest' }}
35+
run: |
36+
yarn run lint:check
37+
3438
- name: Check docs can be build + links
3539
if: ${{ matrix.os == 'ubuntu-latest' }}
3640
run: |

0 commit comments

Comments
 (0)