File tree 2 files changed +54
-1
lines changed
2 files changed +54
-1
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ branches :
4
+ - main
5
+ - ' andreadlm@testing'
6
+
7
+ jobs :
8
+ test :
9
+ strategy :
10
+ matrix :
11
+ os : [macos-latest, ubuntu-latest, windows-latest]
12
+ runs-on : ${{ matrix.os }}
13
+ steps :
14
+ - name : 🔭 Checkout code
15
+ uses : actions/checkout@v4
16
+
17
+ - name : 🐫 Setup OCaml
18
+ uses : ocaml/setup-ocaml@v3
19
+ with :
20
+ ocaml-compiler : 5.3.0
21
+ dune-cache : true
22
+
23
+ - name : 🐓 Setup Coq
24
+ run : |
25
+ opam repo add coq-released https://coq.inria.fr/opam/released
26
+ opam pin add coq 8.20.0
27
+
28
+ - name : 🐓 Setup Coq LSP
29
+ run : opam install coq-lsp
30
+
31
+ - name : Setup Node.js
32
+ uses : actions/setup-node@v4
33
+ with :
34
+ node-version : 18.x
35
+
36
+ - name : 🗂️ Install dependencies
37
+ run : npm install
38
+
39
+ - name : 🏃🏻➡️ Test extension
40
+ run : xvfb-run -a npm test
41
+ if : runner.os == 'Linux'
42
+
43
+ - name : 🏃🏻➡️ Test extension
44
+ run : npm test
45
+ if : runner.os != 'Linux'
46
+
47
+ - name : 🏃🏻➡️ Test grammar
48
+ run : |
49
+ npx vscode-tmgrammar-test -g ./src/syntax/syntaxes/coq-proof.json ./src/test/syntaxes/basic.test.v
50
+ npx vscode-tmgrammar-test -g ./src/syntax/syntaxes/coq-proof.json ./src/test/syntaxes/advanced.test.v
51
+ npx vscode-tmgrammar-test -g ./src/syntax/syntaxes/coq-proof.json ./src/test/syntaxes/comments.test.v
52
+
53
+
Original file line number Diff line number Diff line change 1
1
import { defineConfig } from '@vscode/test-cli' ;
2
2
3
3
export default defineConfig ( {
4
- files : 'out/test/**/*.test.js' ,
4
+ files : 'out/test/**/*.test.js' ,
5
5
} ) ;
You can’t perform that action at this time.
0 commit comments