Skip to content

Commit 9e0227e

Browse files
andrii-idlqqq
andauthored
Fix RTD and E2E CI workflows (#438)
* Add readthedocs configuration file v2 * fix jupyterlab==4.0.6 in E2E tests * fix @jupyterlab/galata to 5.0.6 --------- Co-authored-by: David L. Qiu <[email protected]>
1 parent 587ab51 commit 9e0227e

File tree

4 files changed

+638
-577
lines changed

4 files changed

+638
-577
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ jobs:
2525
- name: Base Setup
2626
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
2727

28+
# when updating this version, make sure to update ui-tests/package.json
29+
# and the lockfile accordingly.
2830
- name: Install extension dependencies
29-
run: python -m pip install -U jupyterlab==4.0.3
31+
run: python -m pip install -U jupyterlab==4.0.6
3032

3133
- name: Build the extension
3234
run: |
@@ -57,7 +59,7 @@ jobs:
5759
working-directory: ui-tests
5860
run: jlpm install-chromium
5961

60-
- name: Execute integration tests
62+
- name: Run E2E Playwright tests
6163
working-directory: ui-tests
6264
run: jlpm test
6365

.readthedocs.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
version: 2
2+
3+
build:
4+
os: ubuntu-22.04
5+
tools:
6+
python: "3.11"
7+
nodejs: "18"
8+
9+
sphinx:
10+
configuration: docs/conf.py
11+
12+
python:
13+
install:
14+
- method: pip
15+
path: .
16+
extra_requirements:
17+
- docs

ui-tests/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"test:update": "jlpm playwright test --update-snapshots"
1111
},
1212
"devDependencies": {
13-
"@jupyterlab/galata": "^5.0.0",
14-
"@playwright/test": "^1.32.0"
13+
"@jupyterlab/galata": "5.0.6",
14+
"@playwright/test": "^1.32.2"
1515
}
1616
}

0 commit comments

Comments
 (0)