Skip to content

Commit

Permalink
Separate syntax tests GitHub actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
nk9 committed Apr 26, 2023
1 parent 439d101 commit 1b57de1
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 2 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/syntax-tests-4075.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Syntax Tests

on:
push:
branches:
- "4075"
paths:
- '.github/workflows/syntax-tests.yml'
- '**.sublime-syntax'
- '**/syntax_test*'
- '**.tmPreferences'
pull_request:
branches:
- "4075"
paths:
- '.github/workflows/syntax-tests.yml'
- '**.sublime-syntax'
- '**/syntax_test*'
- '**.tmPreferences'

jobs:
main:
name: Syntax Tests (${{ matrix.build }})
strategy:
matrix:
include:
- build: 4143 # last stable build before 4148
packages: v4143 # last stable build before 4148
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: SublimeText/syntax-test-action@v2
with:
build: ${{ matrix.build }}
default_packages: ${{ matrix.packages }}
package_name: Just
8 changes: 6 additions & 2 deletions .github/workflows/syntax-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@ name: Syntax Tests

on:
push:
branches:
- "main"
paths:
- '.github/workflows/syntax-tests.yml'
- '**.sublime-syntax'
- '**/syntax_test*'
- '**.tmPreferences'
pull_request:
branches:
- "main"
paths:
- '.github/workflows/syntax-tests.yml'
- '**.sublime-syntax'
Expand All @@ -20,8 +24,8 @@ jobs:
strategy:
matrix:
include:
- build: 4129 # latest as of 7 Dec 2022
packages: v4129 # latest as of 7 Dec 2022
- build: "latest"
packages: master
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 1b57de1

Please sign in to comment.