From befe8638467915699c364c396523d01636f44be0 Mon Sep 17 00:00:00 2001 From: Ryan Ward Date: Tue, 4 Jul 2023 23:38:30 -0400 Subject: [PATCH] packagepath set --- .github/workflows/love.yml | 6 +++--- tests/main.lua | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) 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