-
Notifications
You must be signed in to change notification settings - Fork 34
56 lines (50 loc) · 1.37 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
56
name: 'Test'
on: ['push', 'pull_request']
jobs:
test:
name: 'Vim ${{ matrix.vim_version }} on ${{ matrix.platform }}'
strategy:
matrix:
vim_version:
- 'head'
- 'v9.1.0000'
- 'v9.0.0000'
- 'v8.2.0000'
- 'v8.1.0001'
- 'v8.0.0001'
- 'v7.4'
platform: ['Linux', 'MacOS', 'Windows']
include:
- platform: 'Linux'
os: 'ubuntu-latest'
download: 'never'
- platform: 'MacOS'
os: 'macos-latest'
download: 'never'
- platform: 'Windows'
os: 'windows-latest'
download: 'always'
exclude:
- vim_version: 'v8.0.0001'
platform: 'MacOS'
- vim_version: 'v7.4'
platform: 'MacOS'
fail-fast: false
runs-on: '${{ matrix.os }}'
timeout-minutes: 10
steps:
- uses: 'actions/checkout@v4'
- name: 'Setup Vim'
id: 'vim'
uses: 'thinca/action-setup-vim@v2'
with:
vim_version: '${{ matrix.vim_version }}'
download: '${{ matrix.download }}'
- name: 'Show Vim version'
run: |
${{ steps.vim.outputs.executable }} --version
- name: 'Run test'
env:
THEMIS_VIM: ${{ steps.vim.outputs.executable }}
run: |
./bin/themis --reporter dot