Skip to content

Fix incorrect implementation of pingpong #90

Fix incorrect implementation of pingpong

Fix incorrect implementation of pingpong #90

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
testy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
# tests.lua expects top level folder to be 'batteries'
path: 'batteries'
- name: Setup Lua
uses: leafo/gh-actions-lua@v10
with:
luaVersion: 5.4
- name: Setup Lua Rocks
uses: leafo/gh-actions-luarocks@v4
- name: Setup testy
# Install from github because rock is 6+ years old.
run: luarocks install https://raw.githubusercontent.com/siffiejoe/lua-testy/master/testy-scm-0.rockspec
- name: Run tests
run: |
cd batteries
testy.lua .test/tests.lua