Skip to content

Commit 6e6ac27

Browse files
authored
Fix Playwright snapshot update workflow (#6724)
* tmp: test updating UI * Update `test_folder` * try debug with workflow dispatch * try on push * fix * try more triggers * debug * Install pre-commit * run base setup * try disable git hooks * undo test changes
1 parent 32970b4 commit 6e6ac27

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/playwright-update.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ jobs:
2121
- name: Checkout
2222
uses: actions/checkout@v3
2323

24+
- name: Base Setup
25+
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
26+
2427
- name: Checkout the branch from the PR that triggered the job
2528
run: |
2629
# PR branch remote must be checked out using https URL
@@ -42,6 +45,9 @@ jobs:
4245
cd dist
4346
python -m pip install -vv notebook*.whl
4447
48+
# disable git hooks
49+
git config core.hooksPath no-hooks
50+
4551
- name: Install the test dependencies
4652
run: |
4753
cd ui-tests
@@ -52,6 +58,6 @@ jobs:
5258
uses: jupyterlab/maintainer-tools/.github/actions/update-snapshots@v1
5359
with:
5460
github_token: ${{ secrets.GITHUB_TOKEN }}
55-
test_folder: playwright-tests
61+
test_folder: ui-tests
5662
start_server_script: 'null'
5763
update_script: test:update --browser ${{ matrix.browser }}

0 commit comments

Comments
 (0)