-
-
Notifications
You must be signed in to change notification settings - Fork 85
51 lines (49 loc) · 1.56 KB
/
syntax.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Syntax Tests
on:
push:
paths:
- '.github/workflows/syntax.yml'
- '**.sublime-syntax'
- '**/syntax_test*'
- '**.tmPreferences'
pull_request:
paths:
- '.github/workflows/syntax.yml'
- '**.sublime-syntax'
- '**/syntax_test*'
- '**.tmPreferences'
jobs:
main:
name: Syntax Tests (${{ matrix.build }}, ${{ matrix.packages }})
strategy:
matrix:
include:
# latest dev build
# This test must pass, the others are optional
# due to changes in the Packages repo that affect our tests.
- build: latest
packages: v4129
continue_on_error: false
# last dev & Packages `master`
- build: latest
packages: master
continue_on_error: true
# latest stable build
- build: 4126
packages: v4126
continue_on_error: true
# earliest stable build supported by the current release branch
- build: 4107
packages: v4107
continue_on_error: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: SublimeText/syntax-test-action@v2
with:
build: ${{ matrix.build }}
default_packages: ${{ matrix.packages }}
# On the step level, this does not cause the entire job to fail
# and thus mark PRs as failing when only one of our tests failed.
# See also https://github.com/github/feedback/discussions/15452.
continue-on-error: ${{ matrix.continue_on_error }}