Skip to content

Commit

Permalink
Update screenshot action
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanc1 committed Jun 11, 2023
1 parent 29de3e7 commit be183a5
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/update-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,13 @@ permissions:
pull-requests: write

jobs:


update-snapshots:
if: ${{ github.event.issue.pull_request && contains(github.event.comment.body, 'please update playwright snapshots') }}
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -33,7 +31,7 @@ jobs:
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1

- name: Install dependencies
run: python -m pip install -U jupyterlab~=3.1
run: python -m pip install -U "jupyterlab>=4.0.0b0,<5"

- name: Install extension
run: |
Expand All @@ -44,7 +42,7 @@ jobs:
- uses: jupyterlab/maintainer-tools/.github/actions/update-snapshots@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
npm_client: jlpm
# Playwright knows how to start JupyterLab server
start_server_script: 'null'
test_folder: ui-tests

0 comments on commit be183a5

Please sign in to comment.