File: main.yml

package info (click to toggle)
vim-vimtex 2.17-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,844 kB
  • sloc: makefile: 360; python: 103
file content (57 lines) | stat: -rw-r--r-- 1,311 bytes parent folder | download
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
51
52
53
54
55
56
57
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 \
          moreutils \
          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.10
          vim 9.1
    - uses: actions/checkout@master
      with:
        fetch-depth: 1
    - name: Test with neovim
      working-directory: ./test
      run: |
        mise use neovim
        make -j1
    - name: Test with vim
      env:
        MYVIM: vim -T dumb --not-a-term -n
      working-directory: ./test
      run: |
        mise use vim
        make -j1