-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (29 loc) · 936 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: CI
on: [push, pull_request]
jobs:
Test:
strategy:
fail-fast: true
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
node-version: [22.x, 20.x]
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: ./node_modules/tree-sitter-cli/tree-sitter test
- name: Parse LilyPond regression test files
- run: |
git clone https://gitlab.com/lilypond/lilypond.git
cd lilypond/input/regression
rm bom-mark.ly other/display-lily-tests.ly
cd ../../..
./node_modules/tree-sitter-cli/tree-sitter parse --quiet 'lilypond/**/*.ly'
if: ${{ matrix.os != 'windows-latest' }}