-
Notifications
You must be signed in to change notification settings - Fork 236
40 lines (34 loc) · 1.08 KB
/
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
name: Tests
on:
push:
branches:
- "master"
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
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