Skip to content

Commit 57743a2

Browse files
author
perovskite
committed
Update GH Actions
- Updates the action to install Python dev dependencies and running the Python tests. - Modifies steps to group JavaScript and Python steps together.
1 parent 1916cea commit 57743a2

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

.github/workflows/ipywidgets-bokeh-ci.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
run: |
3232
npm install --location=global npm
3333
34-
- name: Install dependencies
34+
- name: Install JavaScript dependencies
3535
working-directory: ./ipywidgets_bokeh
3636
shell: bash
3737
run: |
3838
npm ci --no-progress
3939
40-
- name: Build ipywidgets-bokeh
40+
- name: Build ipywidgets-bokeh JavaScript
4141
working-directory: ./ipywidgets_bokeh
4242
shell: bash
4343
run: |
@@ -50,19 +50,25 @@ jobs:
5050
run: |
5151
npm run test
5252
53-
- name: Run Playwright & Python tests
53+
- name: Lint the JavaScript codebase
5454
if: success() || failure()
5555
working-directory: ./ipywidgets_bokeh
5656
shell: bash
5757
run: |
58-
pytest
58+
npm run lint
5959
60-
- name: Lint codebase
60+
- name: Install dev Python dependencies
6161
if: success() || failure()
62-
working-directory: ./ipywidgets_bokeh
6362
shell: bash
6463
run: |
65-
npm run lint
64+
python -m pip install --upgrade pip
65+
python -m pip install --editable .[dev]
66+
67+
- name: Run Playwright & Python tests
68+
if: success() || failure()
69+
shell: bash
70+
run: |
71+
pytest
6672
6773
- name: Check repository status
6874
if: success() || failure()

0 commit comments

Comments
 (0)