Skip to content

feat: add API metrics display #5

feat: add API metrics display

feat: add API metrics display #5

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint-and-test:
name: Lint and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Lua
uses: leafo/gh-actions-lua@v10
with:
luaVersion: "5.4"
- name: Setup LuaRocks
uses: leafo/gh-actions-luarocks@v4
- name: Install dependencies
run: make deps
- name: Run luacheck
run: luacheck lua/
- name: Run tests
run: ./scripts/run-tests.sh -c
- name: Generate coverage
run: luacov -r lcov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
files: ./luacov.report.out