-
Notifications
You must be signed in to change notification settings - Fork 47
55 lines (46 loc) · 1.02 KB
/
test.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
51
52
53
54
55
name: test
on:
push:
branches:
- master
- dev
- temp
- feature/githubactions
pull_request:
branches:
- master
- dev
- temp
jobs:
test:
name: ${{ matrix.editor }} on ${{ matrix.os }}
strategy:
matrix:
editor:
- Vim
- Neovim
os:
- ubuntu-24.04
- ubuntu-22.04
- ubuntu-20.04
include:
- editor: Vim
installation: ""
cmd: vim
- editor: Neovim
installation: sudo apt-get update -y && sudo apt-get install -y neovim
cmd: nvim
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install
run: ${{ matrix.installation }}
- name: Install vim-themis
run: git clone https://github.com/thinca/vim-themis
- name: Show version
run: ${{ matrix.cmd }} --version
- name: Run tests
env:
THEMIS_VIM: ${{ matrix.cmd }}
run: vim-themis/bin/themis --reporter spec