Skip to content

Commit 340f52f

Browse files
committed
fix annotations
1 parent 08a6842 commit 340f52f

3 files changed

Lines changed: 34 additions & 1 deletion

File tree

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
with:
1717
tarantool-version: ${{matrix.version}}
1818
- name: run tests
19-
run: luatest --no-capture --coverage -v
19+
run: .rocks/bin/luatest --no-capture --coverage -v
2020
- name: rename luacov.stats.out
2121
run: mv luacov.stats.out luacov.stats.out-${{matrix.version}}
2222
- uses: actions/upload-artifact@master

.luacheckrc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
std="tarantool"
2+
3+
codes=true
4+
max_line_length=140
5+
include_files = {"connection.lua"}
6+
7+
ignore = {
8+
"212", -- unused argument
9+
"431", -- shadwing upvalue
10+
"432", -- shadowing upvalue argument
11+
"542", -- empty if branch
12+
}

.luacov

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
runreport = false
2+
deletestats = false
3+
4+
exclude = {
5+
"%.rocks/",
6+
"builtin/",
7+
"t/.+%.test",
8+
}
9+
10+
pathcorrect = {
11+
{ "^/source/connection/", "" },
12+
}
13+
14+
coveralls = {
15+
root = "/",
16+
debug = true,
17+
pathcorrect = {
18+
{ "^/home/runner/work/connection/connection/", "" },
19+
{ "^/source/connection", "" },
20+
},
21+
}

0 commit comments

Comments
 (0)