File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed
Expand file tree Collapse file tree 1 file changed +53
-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 : Setup conda
36+ uses : conda-incubator/setup-miniconda@v2
37+ with :
38+ activate-environment : ipycanvas-dev
39+ environment-file : dev-environment.yml
40+ python-version : 3.9
41+ mamba-version : " *"
42+ auto-activate-base : false
43+ channels : conda-forge
44+
45+ - name : Install the package
46+ run : pip install -vv .
47+
48+ - name : Update snapshots
49+ uses : jupyterlab/maintainer-tools/.github/actions/update-snapshots@main
50+ with :
51+ github_token : ${{ secrets.GITHUB_TOKEN }}
52+ server_url : http-get://localhost:8888/
53+ test_folder : ui-tests
You can’t perform that action at this time.
0 commit comments