packagepath set
This commit is contained in:
parent
761e739e18
commit
befe863846
6
.github/workflows/love.yml
vendored
6
.github/workflows/love.yml
vendored
@ -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
|
||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user