Rename extras scope #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Syntax Tests | |
on: | |
push: | |
push: | |
- '**' | |
paths: | |
- '.github/workflows/ci-syntax-tests.yml' | |
- '**.sublime-syntax' | |
- '**/syntax_test_*' | |
- '**.tmPreferences' | |
pull_request: | |
branches: | |
- '**' | |
paths: | |
- '.github/workflows/ci-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: 4107 | |
default_packages: v4107 | |
- build: latest | |
default_packages: master | |
steps: | |
- name: Checkout PipRequirements | |
uses: actions/checkout@v4 | |
with: | |
path: st_syntax_tests/Data/Packages/PIP Requirements | |
- name: Run Syntax Tests for Sublime Text ${{ matrix.build }} | |
run: |- | |
if [[ "${{ matrix.build }}" == "latest" ]]; then | |
wget -O st_syntax_tests.tar.xz https://download.sublimetext.com/latest/dev/linux/x64/syntax_tests | |
else | |
wget -O st_syntax_tests.tar.xz https://download.sublimetext.com/st_syntax_tests_build_${{ matrix.build }}_x64.tar.xz | |
fi | |
tar xf st_syntax_tests.tar.xz | |
cd st_syntax_tests | |
./syntax_tests |