File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Update Galata References
2
+
3
+ on :
4
+ issue_comment :
5
+ types : [created, edited]
6
+
7
+ permissions :
8
+ contents : write
9
+ pull-requests : write
10
+
11
+ defaults :
12
+ run :
13
+ shell : bash -l {0}
14
+
15
+ jobs :
16
+ update-reference-screenshots :
17
+ name : Update Galata References
18
+ if : ${{ github.event.issue.pull_request && contains(github.event.comment.body, 'update galata references') }}
19
+ runs-on : ubuntu-latest
20
+
21
+ steps :
22
+ - name : Checkout
23
+ uses : actions/checkout@v2
24
+ with :
25
+ token : ${{ secrets.GITHUB_TOKEN }}
26
+
27
+ - name : Configure git to use https
28
+ run : git config --global hub.protocol https
29
+
30
+ - name : Checkout the branch from the PR that triggered the job
31
+ run : hub pr checkout ${{ github.event.issue.number }}
32
+ env :
33
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
34
+
35
+ - name : Install dependencies
36
+ run : |
37
+ python -m pip install --upgrade jupyterlab~=3.0 ipywidgets~=7.6
38
+ python -m pip install .
39
+ jlpm
40
+ jlpm build
41
+ jupyter labextension develop . --overwrite
42
+ cd ui-tests
43
+ jlpm install --frozen-lockfile
44
+
45
+ - uses : jupyterlab/maintainer-tools/.github/actions/update-snapshots@main
46
+ with :
47
+ github_token : ${{ secrets.GITHUB_TOKEN }}
48
+ server_url : http-get://localhost:8866/
49
+ test_folder : ui-tests
You can’t perform that action at this time.
0 commit comments