Skip to content

Merge pull request #3 from moonlibs/slow-down-retries #25

Merge pull request #3 from moonlibs/slow-down-retries

Merge pull request #3 from moonlibs/slow-down-retries #25

Workflow file for this run

name: Testing with unit tests
on:
- push
- pull_request
jobs:
run-unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: tarantool/setup-tarantool@v2
with:
tarantool-version: '2.10.4'
- name: install luacov-console
run: tarantoolctl rocks install luacov-console
- name: install luacov-coveralls
run: tarantoolctl rocks install --server=http://luarocks.org luacov-coveralls
- name: install luatest
run: tarantoolctl rocks install luatest
- name: run tests
env:
LUACOV_ENABLE: true
run: make test
- name: print luacov-console report
run: .rocks/bin/luacov-console "$(pwd)" && .rocks/bin/luacov-console -s
- name: publish coveralls report
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: .rocks/bin/luacov-coveralls -v