Skip to content

Fixed friction suggestions (#144) #20

Fixed friction suggestions (#144)

Fixed friction suggestions (#144) #20

Workflow file for this run

name: Lua CI
on:
push:
branches:
- master
paths:
- 'lua-lib/**'
- 'conformance/certs/**'
- 'tools/coverage/**'
- '.github/workflows/lua.yml'
pull_request:
branches:
- master
paths:
- 'lua-lib/**'
- 'conformance/certs/**'
- 'tools/coverage/**'
- '.github/workflows/lua.yml'
defaults:
run:
working-directory: lua-lib
jobs:
test:
name: Test (lua)
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v7
# Pure Lua on LuaSocket + LuaSec; the only setup is the interpreter,
# the two rocks, and the OpenSSL headers LuaSec builds against.
- name: Install Lua, LuaSocket, LuaSec
run: |
sudo apt-get update
sudo apt-get install -y libssl-dev lua5.4 liblua5.4-dev luarocks
sudo luarocks install luasocket
sudo luarocks install luasec
- uses: extractions/setup-just@v4
# `just coverage` runs the protocol unit tests + TCP/TLS integration test
# under a Lua line hook and writes LCOV.
- name: Test with coverage
run: just coverage
- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@v2
with:
file: lua-lib/coverage.lcov
flag-name: lua