File tree 3 files changed +48
-0
lines changed
3 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 36
36
- name : Lint
37
37
run : luacheck lua/
38
38
39
+ selene :
40
+ runs-on : ubuntu-latest
41
+ steps :
42
+ - uses : actions/checkout@v4
43
+ - name : Install selene
44
+ run : cargo install selene
45
+ - name : Run selene
46
+ run : selene lua/ tests/
47
+
39
48
typecheck :
40
49
runs-on : ubuntu-latest
41
50
steps :
Original file line number Diff line number Diff line change
1
+ std =" vim"
Original file line number Diff line number Diff line change
1
+ [selene ]
2
+ base = " lua51"
3
+ name = " vim"
4
+
5
+ [vim ]
6
+ any = true
7
+
8
+ [[describe .args ]]
9
+ type = " string"
10
+ [[describe .args ]]
11
+ type = " function"
12
+
13
+ [[it .args ]]
14
+ type = " string"
15
+ [[it .args ]]
16
+ type = " function"
17
+
18
+ [[before_each .args ]]
19
+ type = " function"
20
+
21
+ [[after_each .args ]]
22
+ type = " function"
23
+
24
+ [[assert .args ]]
25
+ type = " any"
26
+
27
+ [[assert .equals .args ]]
28
+ type = " any"
29
+ [[assert .equals .args ]]
30
+ type = " any"
31
+
32
+ [[assert .are .same .args ]]
33
+ type = " any"
34
+ [[assert .are .same .args ]]
35
+ type = " any"
36
+
37
+ [[assert .True .args ]]
38
+ type = " any"
You can’t perform that action at this time.
0 commit comments