Add syntax test #70
Workflow file for this run
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
# Inspired by: https://github.com/lervag/vimtex/blob/master/.github/workflows/main.yml | |
name: Test | |
on: [pull_request] | |
jobs: | |
build: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install packages | |
run: | | |
sudo apt update | |
sudo apt install neovim | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: '12.x' | |
registry-url: 'https://registry.npmjs.org' | |
- run: npm install | |
- name: Test with neovim | |
run: | | |
nvim --version | |
vim --version | |
make test | |
- name: Test syntax | |
run: make test-syntax |