From 76ba86a5ebf60840fde93df7bf6d4668828c6fc5 Mon Sep 17 00:00:00 2001 From: deathaxe Date: Sat, 24 Aug 2024 12:53:21 +0200 Subject: [PATCH] CI: add syntax tests --- .gitattributes | 4 ++++ .github/workflows/syntax-tests.yml | 37 ++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 .gitattributes create mode 100644 .github/workflows/syntax-tests.yml diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..eec6973 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,4 @@ +/.github/ export-ignore +/.gitattributes export-ignore +/.gitignore export-ignore +/tests export-ignore \ No newline at end of file diff --git a/.github/workflows/syntax-tests.yml b/.github/workflows/syntax-tests.yml new file mode 100644 index 0000000..aa1f57d --- /dev/null +++ b/.github/workflows/syntax-tests.yml @@ -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 }}