-
Notifications
You must be signed in to change notification settings - Fork 236
47 lines (40 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
41
42
43
44
45
46
47
name: Tests
on:
pull_request:
push:
branches:
- "master"
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
release: [stable, nightly]
os: [ubuntu-latest]
env:
CI: "1"
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: ${{ matrix.release }}
- name: Install Dependencies
run: |
git config --global core.compression 0
git clone https://github.com/nvim-lua/plenary.nvim tmp/plenary
git clone https://github.com/nvim-telescope/telescope.nvim tmp/telescope
git clone https://github.com/sindrets/diffview.nvim tmp/diffview
git clone https://github.com/nvim-telescope/telescope-fzf-native.nvim tmp/telescope-fzf-native
cd tmp/telescope-fzf-native
make
- name: E2E Test
run: |
bundle exec rspec
- name: Unit Test
run: |
make test