-
Notifications
You must be signed in to change notification settings - Fork 1
50 lines (40 loc) · 1.06 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
48
49
50
name: CI
on: [push, pull_request]
jobs:
unit_tests:
name: unit tests
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: update
run: |
sudo apt-get update
- name: install fzf
run: |
sudo apt-get install -y fzf
- name: install plenary.nvim
uses: actions/checkout@v4
with:
repository: nvim-lua/plenary.nvim
path: plenary.nvim
- name: install luacov
run: |
sudo apt-get install -y luarocks
sudo luarocks install luacov
sudo luarocks install luacov-console
- name: use neovim
uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: v0.9.0
- name: run tests
run: |
nvim --version
NOCLEAN=1 make testcov
- name: upload coverage
uses: codecov/codecov-action@v4
with:
files: luacov.report.out, luacov.stats.out
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true