-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (33 loc) · 1005 Bytes
/
plenary-tests.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
name: Plenary Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
name: Run Plenary Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Neovim
shell: bash
run: |
sudo apt-get update
sudo apt-get install -y software-properties-common
sudo add-apt-repository ppa:neovim-ppa/unstable
sudo apt-get update
sudo apt-get install -y neovim
- name: Install Plenary
shell: bash
run: |
mkdir -p ~/.local/share/nvim/site/pack/vendor/start
git clone --depth 1 https://github.com/nvim-lua/plenary.nvim ~/.local/share/nvim/site/pack/vendor/start/plenary.nvim
- name: Create Test Data Dir
shell: bash
run: |
mkdir -p test_data
- name: Run Plenary Tests
env:
PLENARY_TEST: true
run: nvim --headless -c "PlenaryBustedDirectory test/tabby" -c "q"