File tree Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Test
2
+ on :
3
+ pull_request :
4
+ push :
5
+ branches :
6
+ - main
7
+ jobs :
8
+ main :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v2
12
+ - name : Install Node
13
+ uses : actions/setup-node@v2
14
+ with :
15
+ node-version : " 14.x"
16
+ - name : Cache npm dependencies
17
+ uses : actions/cache@v2
18
+ with :
19
+ path : ~/.npm
20
+ key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
21
+ restore-keys : |
22
+ ${{ runner.os }}-node-
23
+ - name : Install npm dependencies
24
+ run : npm ci
25
+ - name : Check formatting
26
+ run : npm run format-check
27
+ # Ensure the generated parser is up to date
28
+ - run : npx tree-sitter generate
29
+ - name : Run Tree-sitter tests
30
+ run : npx tree-sitter test
31
+ - name : Run integration tests
32
+ run : scripts/integration_test.sh
Original file line number Diff line number Diff line change 1
1
# tree-sitter-elixir
2
2
3
- [ ![ Test] ( https://github.com/jonatanklosko /tree-sitter-elixir/actions/workflows/test.yml/badge.svg )] ( https://github.com/jonatanklosko /tree-sitter-elixir/actions/workflows/test.yml )
3
+ [ ![ Test] ( https://github.com/elixir-lang /tree-sitter-elixir/actions/workflows/test.yml/badge.svg )] ( https://github.com/elixir-lang /tree-sitter-elixir/actions/workflows/test.yml )
4
4
5
5
Elixir grammar for [ tree-sitter] ( https://github.com/tree-sitter/tree-sitter ) .
6
6
You can’t perform that action at this time.
0 commit comments