Skip to content

Commit e4f2884

Browse files
committed
Add CI with syntax tests
1 parent 8bdd25f commit e4f2884

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
.git export-ignore
2+
.github export-ignore
13
/tests export-ignore
24
/pyrightconfig.json export-ignore

.github/workflows/ci.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Syntax Tests
2+
3+
on:
4+
push:
5+
paths:
6+
- "**.sublime-syntax"
7+
- "**/syntax_test_*"
8+
- "**.tmPreferences"
9+
pull_request:
10+
paths:
11+
- "**.sublime-syntax"
12+
- "**/syntax_test_*"
13+
- "**.tmPreferences"
14+
15+
jobs:
16+
syntax_tests:
17+
name: Syntax Tests (${{ matrix.build }})
18+
runs-on: ubuntu-latest
19+
timeout-minutes: 15
20+
strategy:
21+
matrix:
22+
include:
23+
- build: latest
24+
- build: stable # Fetches the binary for the latest stable build
25+
steps:
26+
- uses: actions/checkout@v6
27+
- uses: SublimeText/syntax-test-action@v2
28+
with:
29+
build: ${{ matrix.build }}

0 commit comments

Comments
 (0)