-
Notifications
You must be signed in to change notification settings - Fork 390
50 lines (47 loc) · 1.16 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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 apt update
sudo apt install \
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: jdx/mise-action@v2
with:
tool_versions: |
neovim 0.9.5
vim 9.1.0
- 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