Skip to content

Commit 5094db0

Browse files
committed
Separate syntax tests GitHub actions.
1 parent def1585 commit 5094db0

2 files changed

Lines changed: 42 additions & 2 deletions

File tree

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Syntax Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- "4075"
7+
paths:
8+
- '.github/workflows/syntax-tests.yml'
9+
- '**.sublime-syntax'
10+
- '**/syntax_test*'
11+
- '**.tmPreferences'
12+
pull_request:
13+
branches:
14+
- "4075"
15+
paths:
16+
- '.github/workflows/syntax-tests.yml'
17+
- '**.sublime-syntax'
18+
- '**/syntax_test*'
19+
- '**.tmPreferences'
20+
21+
jobs:
22+
main:
23+
name: Syntax Tests (${{ matrix.build }})
24+
strategy:
25+
matrix:
26+
include:
27+
- build: 4143 # last stable build before 4148
28+
packages: v4143 # last stable build before 4148
29+
runs-on: ubuntu-latest
30+
steps:
31+
- uses: actions/checkout@v2
32+
- uses: SublimeText/syntax-test-action@v2
33+
with:
34+
build: ${{ matrix.build }}
35+
default_packages: ${{ matrix.packages }}
36+
package_name: Just

.github/workflows/syntax-tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,16 @@ name: Syntax Tests
22

33
on:
44
push:
5+
branches:
6+
- "main"
57
paths:
68
- '.github/workflows/syntax-tests.yml'
79
- '**.sublime-syntax'
810
- '**/syntax_test*'
911
- '**.tmPreferences'
1012
pull_request:
13+
branches:
14+
- "main"
1115
paths:
1216
- '.github/workflows/syntax-tests.yml'
1317
- '**.sublime-syntax'
@@ -20,8 +24,8 @@ jobs:
2024
strategy:
2125
matrix:
2226
include:
23-
- build: 4129 # latest as of 7 Dec 2022
24-
packages: v4129 # latest as of 7 Dec 2022
27+
- build: "latest"
28+
packages: master
2529
runs-on: ubuntu-latest
2630
steps:
2731
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)