Fine tune drone creature's look and movement #183
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: | |
# Reference the major version of a release | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Lua | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y lua5.3 liblua5.3-dev | |
- name: Install LuaRocks | |
run: | | |
wget https://luarocks.org/releases/luarocks-3.8.0.tar.gz | |
tar zxpf luarocks-3.8.0.tar.gz | |
cd luarocks-3.8.0 | |
./configure --with-lua-include=/usr/include/lua5.3 | |
make | |
sudo make install | |
- name: Install Busted and LuaAssert | |
run: | | |
sudo luarocks install busted | |
sudo luarocks install luassert | |
- name: Run tests | |
run: | | |
make test-busted |