packagepath set

This commit is contained in:
Ryan Ward 2023-07-04 23:38:30 -04:00
parent 761e739e18
commit befe863846
2 changed files with 4 additions and 3 deletions

View File

@ -12,14 +12,14 @@ jobs:
fail-fast: false fail-fast: false
runs-on: "ubuntu-latest" runs-on: "ubuntu-latest"
steps: steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Install love2d - name: Install love2d
run: | run: |
sudo apt install fuse sudo apt install fuse
wget https://github.com/love2d/love/releases/download/11.4/love-11.4-x86_64.AppImage -O love.AppImage wget https://github.com/love2d/love/releases/download/11.4/love-11.4-x86_64.AppImage -O love.AppImage
sudo chmod +x love.AppImage sudo chmod +x love.AppImage
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Run Tests - name: Run Tests
run: | run: |
./love.AppImage tests ./love.AppImage tests

View File

@ -1,3 +1,4 @@
package.path = "../?/init.lua;../?.lua;"..package.path
require("runtests") require("runtests")
require("threadtests") require("threadtests")
-- Allows you to run "love tests" which runs the tests -- Allows you to run "love tests" which runs the tests