9
9
- test/**
10
10
- bindings/**
11
11
- binding.gyp
12
+ - .github/workflows/*
12
13
pull_request :
13
14
branches : [master]
14
15
paths :
17
18
- test/**
18
19
- bindings/**
19
20
- binding.gyp
21
+ - .github/workflows/*
20
22
21
23
concurrency :
22
24
group : ${{github.workflow}}-${{github.ref}}
@@ -29,60 +31,57 @@ jobs:
29
31
strategy :
30
32
fail-fast : false
31
33
matrix :
32
- os : [ubuntu-latest, windows-latest, macos-14 ]
34
+ os : [ubuntu-latest, windows-latest, macos-latest ]
33
35
steps :
34
- - name : Set up repository
35
- uses :
tree-sitter/[email protected]
36
- with :
37
- node-version : 20
36
+ - name : Clone repository
37
+ uses : actions/checkout@v4
38
38
- name : Clone nvim help files
39
39
uses : actions/checkout@v4
40
40
with :
41
41
repository : neovim/neovim
42
42
path : examples/neovim
43
43
sparse-checkout : runtime/doc/
44
- - name : Run tests
44
+ - name : Set up tree-sitter
45
+ uses : tree-sitter/setup-action/cli@v1
46
+ - name : Run parser tests
45
47
uses : tree-sitter/parser-test-action@v2
46
48
with :
47
- test-library : ${{runner.os == 'Linux'}}
48
- corpus-files : |-
49
+ test-rust : ${{runner.os == 'Linux'}}
50
+ - name : Parse sample files
51
+ uses : tree-sitter/parse-action@v4
52
+ if : runner.os != 'Windows'
53
+ with :
54
+ files : |-
49
55
examples/neovim/runtime/doc/*
50
- # FIXME: these files should not have errors
56
+ # FIXME: these should not have errors
51
57
invalid-files : |-
52
58
examples/neovim/runtime/doc/builtin.txt
53
59
examples/neovim/runtime/doc/change.txt
54
60
examples/neovim/runtime/doc/cmdline.txt
55
61
examples/neovim/runtime/doc/dev_style.txt
56
62
examples/neovim/runtime/doc/dev_tools.txt
57
63
examples/neovim/runtime/doc/develop.txt
58
- examples/neovim/runtime/doc/diagnostic.txt
59
64
examples/neovim/runtime/doc/editing.txt
60
65
examples/neovim/runtime/doc/eval.txt
61
- examples/neovim/runtime/doc/faq.txt
62
66
examples/neovim/runtime/doc/fold.txt
63
67
examples/neovim/runtime/doc/ft_ada.txt
68
+ examples/neovim/runtime/doc/ft_hare.txt
64
69
examples/neovim/runtime/doc/ft_ps1.txt
65
- examples/neovim/runtime/doc/ft_sql.txt
66
- examples/neovim/runtime/doc/help.txt
67
70
examples/neovim/runtime/doc/helphelp.txt
68
71
examples/neovim/runtime/doc/if_perl.txt
69
72
examples/neovim/runtime/doc/if_pyth.txt
70
73
examples/neovim/runtime/doc/if_ruby.txt
71
- examples/neovim/runtime/doc/indent.txt
72
74
examples/neovim/runtime/doc/index.txt
73
75
examples/neovim/runtime/doc/intro.txt
74
76
examples/neovim/runtime/doc/job_control.txt
75
- examples/neovim/runtime/doc/lsp.txt
76
77
examples/neovim/runtime/doc/luaref.txt
77
78
examples/neovim/runtime/doc/map.txt
78
79
examples/neovim/runtime/doc/mbyte.txt
79
80
examples/neovim/runtime/doc/motion.txt
80
- examples/neovim/runtime/doc/news.txt
81
81
examples/neovim/runtime/doc/nvim.txt
82
82
examples/neovim/runtime/doc/options.txt
83
83
examples/neovim/runtime/doc/pattern.txt
84
84
examples/neovim/runtime/doc/pi_gzip.txt
85
- examples/neovim/runtime/doc/pi_health.txt
86
85
examples/neovim/runtime/doc/pi_msgpack.txt
87
86
examples/neovim/runtime/doc/pi_netrw.txt
88
87
examples/neovim/runtime/doc/pi_paren.txt
@@ -107,7 +106,6 @@ jobs:
107
106
examples/neovim/runtime/doc/usr_12.txt
108
107
examples/neovim/runtime/doc/usr_22.txt
109
108
examples/neovim/runtime/doc/usr_28.txt
110
- examples/neovim/runtime/doc/usr_29.txt
111
109
examples/neovim/runtime/doc/usr_41.txt
112
110
examples/neovim/runtime/doc/various.txt
113
111
examples/neovim/runtime/doc/vim_diff.txt
0 commit comments