-
Notifications
You must be signed in to change notification settings - Fork 0
77 lines (65 loc) · 1.66 KB
/
unittests.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
77
name: unit-tests
on: [push, pull_request]
jobs:
unit_test:
name: unit_test
runs-on: ${{ matrix.os }}
strategy:
matrix:
vim:
- nightly
- v9.0.0000
os: [ubuntu-latest, macos-latest]
steps:
- name: Setup Python
uses: actions/[email protected]
with:
python-version: '3.12'
- name: Install jupyter_console
run: |
pip install jupyter_console
- name: Setup Vim
uses: rhysd/action-setup-vim@v1
id: vim
with:
version: ${{ matrix.vim }}
- name: Checkout vim-replica plugin code
uses: actions/checkout@v4
- name: Run Tests
run: |
uname -a
export VIMPRG=${{ steps.vim.outputs.executable }}
$VIMPRG --version
cd test
source ./run_tests.sh 1
unit_test_windows:
name: unit_test_windows
runs-on: windows-latest
strategy:
matrix:
vim:
- nightly
- v9.0.0000
steps:
- name: Setup Python
uses: actions/[email protected]
with:
python-version: '3.12'
- name: Install jupyter_console
run: |
pip install jupyter_console
- name: Setup Vim
uses: rhysd/action-setup-vim@v1
id: vim
with:
version: ${{ matrix.vim }}
- name: Checkout vim-replica plugin code
uses: actions/checkout@v4
- name: Run Tests
run: |
systeminfo
echo "Vim command setup."
$Env:VIMPRG = "${{ steps.vim.outputs.executable }}"
& $Env:VIMPRG --version
cd test
.\run_tests.cmd