Skip to content

Fix unit tests

Fix unit tests #153

Workflow file for this run

name: Run luacheck and unit tests
on:
push:
pull_request:
workflow_dispatch:
jobs:
luacheck:
name: Run luacheck
runs-on: ubuntu-latest
container:
image: ubuntu:latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install additional packages
run: |
set -ex
apt -qy update
apt -qy install lua-check
- name: Run luacheck
run: luacheck lunamark/
test:
name: Run unit tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build docker image
run: make build-docker
- name: Run unit tests
run: make test-docker