-
Notifications
You must be signed in to change notification settings - Fork 236
37 lines (31 loc) · 1009 Bytes
/
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
name: Tests
on:
pull_request:
push:
branches:
- "master"
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Dependencies
run: |
mkdir -p ~/.local/share/neogit-test/site/pack/plenary.nvim/start
cd ~/.local/share/neogit-test/site/pack/plenary.nvim/start
git clone https://github.com/nvim-lua/plenary.nvim
mkdir -p ~/.local/share/neogit-test/site/pack/telescope.nvim/start
cd ~/.local/share/neogit-test/site/pack/telescope.nvim/start
git clone https://github.com/nvim-telescope/telescope.nvim
- name: Install Neovim
run: |
wget https://github.com/neovim/neovim/releases/download/stable/nvim-linux64.tar.gz
tar -zxf nvim-linux64.tar.gz
sudo ln -s $(pwd)/nvim-linux64/bin/nvim /usr/local/bin
- name: Test
continue-on-error: false
env:
ci: "1"
run: |
make test