Skip to content

Commit 76ba86a

Browse files
author
deathaxe
committed
CI: add syntax tests
1 parent cd108d4 commit 76ba86a

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

.gitattributes

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/.github/ export-ignore
2+
/.gitattributes export-ignore
3+
/.gitignore export-ignore
4+
/tests export-ignore

.github/workflows/syntax-tests.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: CI Syntax Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
tags-ignore:
8+
- '**'
9+
paths:
10+
- '.github/workflows/syntax-tests.yml'
11+
- '**.sublime-syntax'
12+
- '**/syntax_test_*'
13+
- '**.tmPreferences'
14+
workflow_dispatch:
15+
16+
jobs:
17+
syntax_tests:
18+
name: Sublime Text ${{ matrix.build }}
19+
runs-on: ubuntu-latest
20+
timeout-minutes: 15 # default is 6 hours!
21+
strategy:
22+
matrix:
23+
include:
24+
- build: 3211
25+
default_packages: v3211
26+
- build: 4107
27+
default_packages: v4107
28+
- build: 4180
29+
default_packages: v4180
30+
- build: latest
31+
default_packages: master
32+
steps:
33+
- uses: actions/checkout@v4
34+
- uses: SublimeText/syntax-test-action@v2
35+
with:
36+
build: ${{ matrix.build }}
37+
default_packages: ${{ matrix.default_packages }}

0 commit comments

Comments
 (0)