We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b1ff02 commit 41779f2Copy full SHA for 41779f2
1 file changed
.github/workflows/ci.yml
@@ -42,6 +42,30 @@ jobs:
42
id: toolchain
43
- run: cargo test
44
45
+ corpus:
46
+ name: Corpus test
47
+ runs-on: ubuntu-latest
48
+ timeout-minutes: 10
49
+ steps:
50
+ - uses: actions/checkout@v4
51
+ - uses: dtolnay/rust-toolchain@1.86.0
52
+ id: toolchain
53
+ run: cargo build
54
+
55
+ - name: Clone nvim-treesitter runtime corpus
56
+ uses: actions/checkout@v4
57
+ with:
58
+ repository: nvim-treesitter/nvim-treesitter
59
+ ref: main
60
+ path: .tests/nvim-treesitter
61
+ sparse-checkout: runtime/queries
62
63
+ - name: Check corpus
64
+ run: ts_query_ls check .tests/nvim-treesitter/runtime/queries
65
66
+ - name: Format corpus
67
+ run: ts_query_ls format .tests/nvim-treesitter/runtime/queries
68
69
generate-schema:
70
name: Generate schema
71
runs-on: ubuntu-latest
0 commit comments