Skip to content

first tests for mxins #118

first tests for mxins

first tests for mxins #118

name: continuous-integration
on: [push]
jobs:
build:
name: Run syntax_tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Install OpenGL
run: sudo apt-get -y install libgl1-mesa-glx libglu1-mesa
- name: Download syntax_tests
run: wget --content-disposition https://download.sublimetext.com/st_syntax_tests_build_4121_x64.tar.xz
- name: Extract syntax_tests
run: tar xf "$(ls st_syntax_tests_build_*_x64.tar.xz)"
- name: Move syntax_tests
run: mv st_syntax_tests/syntax_tests ./
- name: Cleanup syntax_tests dir
run: rm -R st_syntax_tests*
- name: Cleanup git dir
run: rm -R .git*
- name: Setup 'Data/Packages/Sass'
run: mkdir -p 'Data/Packages/Sass'
- name: Move package into its own subdir within Data dir
run: >-
find .
-maxdepth 1
-mindepth 1
-not -name 'Data'
-not -name 'syntax_tests'
-exec mv -v '{}' 'Data/Packages/Sass/' \;
- name: Run syntax tests
run: ./syntax_tests