CI WIP try again #5
Workflow file for this run
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: 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 |