Skip to content

Bugfix release v2.3.1 #46

Bugfix release v2.3.1

Bugfix release v2.3.1 #46

Workflow file for this run

name: Run tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Build the Docker image
run: docker build .docker/alpine/ --tag vwout/obs-visca-control-lua:5.2
- name: Run linter
uses: addnab/docker-run-action@v3
with:
image: vwout/obs-visca-control-lua:5.2
options: -v ${{ github.workspace }}:/github/workspace
run: |
luacheck --config .luacheckrc \
libvisca.lua \
obs-visca-control.lua
- name: Run unit tests
uses: addnab/docker-run-action@v3
with:
image: vwout/obs-visca-control-lua:5.2
options: -v ${{ github.workspace }}:/github/workspace
run: |
find test -name "*_test.lua" | xargs lunit
luacov obs-visca-control.lua libvisca.lua