diff --git a/.github/workflows/love.yml b/.github/workflows/love.yml index d38888d..b0cefa0 100644 --- a/.github/workflows/love.yml +++ b/.github/workflows/love.yml @@ -12,14 +12,14 @@ jobs: fail-fast: false runs-on: "ubuntu-latest" steps: - - uses: actions/checkout@v2 - with: - submodules: recursive - name: Install love2d run: | sudo apt install fuse wget https://github.com/love2d/love/releases/download/11.4/love-11.4-x86_64.AppImage -O love.AppImage sudo chmod +x love.AppImage + - uses: actions/checkout@v2 + with: + submodules: recursive - name: Run Tests run: | ./love.AppImage tests \ No newline at end of file diff --git a/tests/main.lua b/tests/main.lua index 232899c..2e50375 100644 --- a/tests/main.lua +++ b/tests/main.lua @@ -1,3 +1,4 @@ +package.path = "../?/init.lua;../?.lua;"..package.path require("runtests") require("threadtests") -- Allows you to run "love tests" which runs the tests