Skip to content

Commit f864aa3

Browse files
committed
fix tests
1 parent 138f05b commit f864aa3

File tree

2 files changed

+0
-36
lines changed

2 files changed

+0
-36
lines changed

.github/actions/setup-test/action.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,6 @@ runs:
1313
uses: ./.github/actions/setup-tarantool
1414
with:
1515
tarantool-version: ${{ inputs.tarantool-version }}
16-
- name: install luacov-coveralls 0.2.3
17-
shell: bash
18-
run: tt rocks install --server https://luarocks.org luacov-coveralls 0.2.3
19-
- name: install luacov-console 1.2.0
20-
shell: bash
21-
run: tt rocks --server http://moonlibs.github.io/rocks install luacov-console 1.2.0
2216
- name: install luatest scm-1
2317
shell: bash
2418
run: tt rocks install luatest 1.1.0

.github/workflows/tests.yml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -19,33 +19,3 @@ jobs:
1919
run: tt rocks make connection-dev-1.rockspec
2020
- name: run tests
2121
run: .rocks/bin/luatest --no-capture -v
22-
- name: rename luacov.stats.out
23-
run: mv luacov.stats.out luacov.stats.out-${{matrix.version}}
24-
- uses: actions/upload-artifact@master
25-
with:
26-
name: luacov.stats.out-${{matrix.version}}
27-
path: luacov.stats.out-${{matrix.version}}
28-
29-
run-coverage-report:
30-
runs-on: ubuntu-latest
31-
needs: ["run-unit-tests"]
32-
steps:
33-
- uses: actions/checkout@v4
34-
- uses: ./.github/actions/setup-test
35-
with:
36-
tarantool-version: '2.11'
37-
- name: Download run artifacts
38-
uses: actions/download-artifact@v4
39-
with:
40-
pattern: luacov.stats.out-*
41-
merge-multiple: true
42-
- name: debug
43-
run: ls -la .
44-
- name: merge luacov.stats.out
45-
run: cat luacov.stats.out-* | >luacov.stats.out tarantool -e 'm={} for k in io.lines() do local vs=io.read():split(" ") vs[#vs]=nil local r = m[k] if r then for i, v in pairs(vs) do r[i]=r[i]+v end else m[k]=vs end end; for k, v in pairs(m) do print(k) print(table.concat(v, " ")) end'
46-
- name: prepare coverage report
47-
run: .rocks/bin/luacov-console . && .rocks/bin/luacov-console -s
48-
- name: publish coveralls report
49-
env:
50-
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
51-
run: .rocks/bin/luacov-coveralls -v

0 commit comments

Comments
 (0)