File tree 2 files changed +23
-14
lines changed
2 files changed +23
-14
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
15
12
jobs :
16
13
build :
17
14
name : ' Build image'
@@ -56,10 +53,13 @@ jobs:
56
53
path : /tmp
57
54
- name : Load server image
58
55
run : docker load --input /tmp/lean4monaco.tar
56
+ shell : bash
59
57
- name : Start server
60
58
run : docker run -dit -p 5173:5173 -p 8080:8080 lean4monaco
59
+ shell : bash
61
60
- name : Run tests (electron)
62
61
uses : cypress-io/github-action@v6
63
62
with :
64
63
browser : electron
65
64
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
17
14
jobs :
18
15
test :
19
16
strategy :
22
19
os :
23
20
- ubuntu-latest
24
21
- macos-latest
25
- - windows-latest
22
+ # - windows-latest
26
23
browser :
27
24
- electron
28
25
- chrome
@@ -33,14 +30,16 @@ jobs:
33
30
name : Linux
34
31
- os : macos-latest
35
32
name : macOS
33
+ # currently only one Windows test
36
34
- os : windows-latest
37
35
name : Windows
38
- - os : windows-latest
39
- name : Windows
40
- browser : edge
41
- exclude :
42
- - os : windows-latest
43
- browser : webkit
36
+ browser : electron
37
+ # - os: windows-latest
38
+ # name: Windows
39
+ # browser: edge
40
+ # exclude:
41
+ # - os: windows-latest
42
+ # browser: webkit
44
43
45
44
name : ${{ matrix.name }} - ${{ matrix.browser }}
46
45
runs-on : ${{ matrix.os }}
53
52
- name : Setup webkit (Linux)
54
53
if : matrix.os == 'ubuntu-latest' && matrix.browser == 'webkit'
55
54
run : npx playwright install-deps webkit
55
+ shell : bash
56
56
- uses : actions/checkout@v4
57
57
with :
58
58
submodules : true
@@ -71,12 +71,21 @@ jobs:
71
71
curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf > elan-init.sh
72
72
bash elan-init.sh -y
73
73
echo "$(realpath ~/.elan/bin)" >> $GITHUB_PATH
74
+ shell : bash
74
75
- uses : actions/setup-node@v4
75
76
- run : npm install
76
- # - run: npm run setup_demo # included in the next step
77
+ shell : bash
78
+ - run : npm run setup_demo
79
+ if : matrix.os != 'windows-latest'
80
+ shell : bash
77
81
- name : Run tests
82
+ if : matrix.os != 'windows-latest'
78
83
uses : cypress-io/github-action@v6
79
84
with :
80
85
start : npm start
81
86
wait-on : ' http://localhost:5173'
82
87
browser : ${{ matrix.browser }}
88
+ - name : Run test (Windows)
89
+ run : npm test
90
+ if : matrix.os == 'windows-latest'
91
+ shell : bash
You can’t perform that action at this time.
0 commit comments