-
Notifications
You must be signed in to change notification settings - Fork 222
76 lines (63 loc) · 1.87 KB
/
vim-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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
name: Vim End-to-End Tests
on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
merge_group:
types: [ checks_requested ]
jobs:
vim:
name: themis
runs-on: ubuntu-latest
env:
DOTNET_NOLOGO: true
DOTNET_GENERATE_ASPNET_CERTIFICATE: false
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install dotnet
uses: actions/setup-dotnet@v4
with:
cache: true
cache-dependency-path: '**/*.csproj'
- name: Install PSResources
shell: pwsh
run: tools/installPSResources.ps1
- name: Build
shell: pwsh
run: Invoke-Build Build
- name: Install Vim
id: vim
uses: rhysd/action-setup-vim@v1
with:
version: nightly
- name: Checkout vim-ps1
uses: actions/checkout@v4
with:
repository: PProvost/vim-ps1
path: vim-ps1
- name: Checkout LanguageClient-neovim
uses: actions/checkout@v4
with:
repository: autozimu/LanguageClient-neovim
path: LanguageClient-neovim
- name: Install LanguageClient-neovim
run: ./install.sh
working-directory: LanguageClient-neovim
- name: Checkout Themis
uses: actions/checkout@v4
with:
repository: thinca/vim-themis
path: vim-themis
# - name: Debug if run with debugging enabled
# uses: lhotari/action-upterm@v1
- name: Run Themis with full CLI
env:
THEMIS_VIM: ${{ steps.vim.outputs.executable }}
run: ./vim-themis/bin/themis ./test/vim-test.vim
- name: Run Themis with simple CLI
env:
THEMIS_VIM: ${{ steps.vim.outputs.executable }}
run: ./vim-themis/bin/themis ./test/vim-simple-test.vim