Skip to content

CI WIP try again

CI WIP try again #5

Workflow file for this run

name: Lua Tests
on:
push:
branches:
- '*' # Runs on any branch when changes are pushed
pull_request:
branches:
- '*' # Runs when a PR targets any branch
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Lua and Luarocks
run: |
sudo apt-get update
sudo apt-get install -y lua5.4 lua5.4-dev luarocks
- name: Install dependencies
run: |
luarocks install busted
luarocks install luassert
- name: Run tests
run: |
busted src/tests/*.lua # Adjust the path to where your tests are located