mirror of
https://github.com/littensy/charm.git
synced 2026-10-20 17:51:37 +00:00
test: use lune
This commit is contained in:
parent
581488cb4f
commit
a9c60c701f
5 changed files with 6 additions and 6 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -18,7 +18,7 @@ jobs:
|
||||||
run: sh bin/check.sh
|
run: sh bin/check.sh
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: lute test/init.luau
|
run: lune run test
|
||||||
|
|
||||||
- name: Build models
|
- name: Build models
|
||||||
run: sh bin/build.sh
|
run: sh bin/build.sh
|
||||||
|
|
|
||||||
4
.luaurc
4
.luaurc
|
|
@ -4,7 +4,7 @@
|
||||||
"LocalShadow": false
|
"LocalShadow": false
|
||||||
},
|
},
|
||||||
"aliases": {
|
"aliases": {
|
||||||
"test": "test",
|
"test": "./test",
|
||||||
"packages": "packages"
|
"packages": "./packages"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "lute test/init.luau",
|
"test": "lune run test",
|
||||||
"build": "sh bin/build.sh",
|
"build": "sh bin/build.sh",
|
||||||
"typecheck": "sh bin/check.sh"
|
"typecheck": "sh bin/check.sh"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -9,4 +9,4 @@ rojo = "rojo-rbx/rojo@7.5.1"
|
||||||
stylua = "johnnymorganz/stylua@2.1.0"
|
stylua = "johnnymorganz/stylua@2.1.0"
|
||||||
selene = "Kampfkarren/selene@0.28.0"
|
selene = "Kampfkarren/selene@0.28.0"
|
||||||
luau-lsp = "johnnymorganz/luau-lsp@1.47.0"
|
luau-lsp = "johnnymorganz/luau-lsp@1.47.0"
|
||||||
lute = "luau-lang/lute@0.1.0-nightly.20250518"
|
lune = "lune-org/lune@0.9.3"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
local suite = require("@test/suite")
|
local suite = require("@self/suite")
|
||||||
|
|
||||||
if not table.isfrozen(_G) then
|
if not table.isfrozen(_G) then
|
||||||
_G.__DEV__ = true
|
_G.__DEV__ = true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue