Skip to content

Commit

Permalink
CI: add syntax tests
Browse files Browse the repository at this point in the history
  • Loading branch information
deathaxe committed Aug 24, 2024
1 parent cd108d4 commit 76ba86a
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/.github/ export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/tests export-ignore
37 changes: 37 additions & 0 deletions .github/workflows/syntax-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CI Syntax Tests

on:
push:
branches:
- '**'
tags-ignore:
- '**'
paths:
- '.github/workflows/syntax-tests.yml'
- '**.sublime-syntax'
- '**/syntax_test_*'
- '**.tmPreferences'
workflow_dispatch:

jobs:
syntax_tests:
name: Sublime Text ${{ matrix.build }}
runs-on: ubuntu-latest
timeout-minutes: 15 # default is 6 hours!
strategy:
matrix:
include:
- build: 3211
default_packages: v3211
- build: 4107
default_packages: v4107
- build: 4180
default_packages: v4180
- build: latest
default_packages: master
steps:
- uses: actions/checkout@v4
- uses: SublimeText/syntax-test-action@v2
with:
build: ${{ matrix.build }}
default_packages: ${{ matrix.default_packages }}

0 comments on commit 76ba86a

Please sign in to comment.