chore: minor adjustment #1627
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 tests | |
on: | |
pull_request: | |
paths-ignore: | |
- 'doc/*' | |
- 'docker/*' | |
- 'media/*' | |
- '*.md' | |
push: | |
paths-ignore: | |
- 'doc/*' | |
- 'docker/*' | |
- 'media/*' | |
- '*.md' | |
env: | |
SHELL: bash | |
jobs: | |
run-tests: | |
name: Test on ubuntu-latest | |
runs-on: ubuntu-latest | |
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
steps: | |
- name: Install packages | |
run: | | |
sudo add-apt-repository ppa:neovim-ppa/stable | |
sudo apt update | |
sudo apt install \ | |
vim neovim moreutils gcc \ | |
texlive texlive-latex-extra texlive-extra-utils \ | |
texlive-bibtex-extra libtext-bibtex-perl \ | |
texlive-publishers \ | |
latexmk \ | |
libmodule-build-perl \ | |
libconfig-autoconf-perl \ | |
libextutils-libbuilder-perl | |
- uses: actions/checkout@master | |
with: | |
fetch-depth: 1 | |
- name: Test with neovim | |
run: cd test && make -j1 | |
- name: Test with vim | |
env: | |
MYVIM: vim -T dumb --not-a-term -n | |
run: cd test && make -j1 |