-
Notifications
You must be signed in to change notification settings - Fork 2
47 lines (47 loc) · 1.3 KB
/
ci.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
name: Tests
on: [push]
jobs:
unit_tests:
name: unit tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, macos-14]
rev: [v0.10.0]
include:
- os: ubuntu-22.04
install-cargo: curl -sSf https://sh.rustup.rs | sh -s -- -y
install-gg: cargo install grip-grab
install-sed: sudo apt-get install -y sed
- os: macos-14
install-cargo: curl -sSf https://sh.rustup.rs | sh -s -- -y
install-gg: cargo install grip-grab
install-sed: brew install gnu-sed
steps:
- uses: actions/checkout@v4
with:
repository: MunifTanjim/nui.nvim
path: nui.nvim
- uses: actions/checkout@v4
with:
repository: nvim-lua/plenary.nvim
path: plenary.nvim
- uses: actions/checkout@v4
with:
path: pymple.nvim
- uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: ${{ matrix.rev }}
- name: Prepare
run: |
${{ matrix.install-cargo }}
${{ matrix.install-gg }}
gg --version
${{ matrix.install-sed }}
- name: Run tests
run: |
cd pymple.nvim
nvim --version
make test