Fix preset recall fails for preset numbers >127 (#14): support preset… #49
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |