File tree 2 files changed +6
-8
lines changed
2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 9
9
concurrency :
10
10
group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11
11
cancel-in-progress : true
12
+ defaults :
13
+ run :
14
+ shell : bash
12
15
jobs :
13
16
build :
14
17
name : ' Build image'
@@ -53,13 +56,10 @@ jobs:
53
56
path : /tmp
54
57
- name : Load server image
55
58
run : docker load --input /tmp/lean4monaco.tar
56
- shell : bash
57
59
- name : Start server
58
60
run : docker run -dit -p 5173:5173 -p 8080:8080 lean4monaco
59
- shell : bash
60
61
- name : Run tests (electron)
61
62
uses : cypress-io/github-action@v6
62
63
with :
63
64
browser : electron
64
65
wait-on : ' http://localhost:5173'
65
- shell : bash
Original file line number Diff line number Diff line change 11
11
concurrency :
12
12
group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
13
13
cancel-in-progress : true
14
+ defaults :
15
+ run :
16
+ shell : bash
14
17
jobs :
15
18
test :
16
19
strategy :
52
55
- name : Setup webkit (Linux)
53
56
if : matrix.os == 'ubuntu-latest' && matrix.browser == 'webkit'
54
57
run : npx playwright install-deps webkit
55
- shell : bash
56
58
- uses : actions/checkout@v4
57
59
with :
58
60
submodules : true
@@ -71,13 +73,10 @@ jobs:
71
73
curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf > elan-init.sh
72
74
bash elan-init.sh -y
73
75
echo "$(realpath ~/.elan/bin)" >> $GITHUB_PATH
74
- shell : bash
75
76
- uses : actions/setup-node@v4
76
77
- run : npm install
77
- shell : bash
78
78
- run : npm run setup_demo
79
79
if : matrix.os != 'windows-latest'
80
- shell : bash
81
80
- name : Run tests
82
81
if : matrix.os != 'windows-latest'
83
82
uses : cypress-io/github-action@v6
88
87
- name : Run test (Windows)
89
88
run : npm test
90
89
if : matrix.os == 'windows-latest'
91
- shell : bash
You can’t perform that action at this time.
0 commit comments