Skip to content

Add tests to get missing coverage. #19

Add tests to get missing coverage.

Add tests to get missing coverage. #19

Workflow file for this run

name: test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: leafo/gh-actions-lua@v10
with:
luaVersion: "5.4"
- uses: leafo/gh-actions-luarocks@v4.3.0
- name: Cache Lua packages
uses: actions/cache@v3
with:
path: ${{ github.workspace }}/.luarocks
key: lua-${{ hashFiles('luatest-dev-1.rockspec') }}
- name: set path
run: echo "${{ github.workspace }}/.luarocks/bin" >> $GITHUB_PATH
- name: build
run: make build
- name: test
run: make coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}