test lua directly

This commit is contained in:
Anthony Sottile 2023-01-17 23:43:31 -05:00
parent 6014ebd2e7
commit f042540311
6 changed files with 58 additions and 53 deletions

View file

@ -1,4 +0,0 @@
- id: hello-world-lua
name: hello world lua
entry: hello-world-lua
language: lua

View file

@ -1,3 +0,0 @@
#!/usr/bin/env lua
print('hello world')

View file

@ -1,15 +0,0 @@
package = "hello"
version = "dev-1"
source = {
url = "git+ssh://git@github.com/pre-commit/pre-commit.git"
}
description = {}
dependencies = {}
build = {
type = "builtin",
modules = {},
install = {
bin = {"bin/hello-world-lua"}
},
}

View file

@ -45,10 +45,6 @@ skipif_cant_run_docker = pytest.mark.skipif(
os.name == 'nt' or not docker_is_running(),
reason="Docker isn't running or can't be accessed",
)
skipif_cant_run_lua = pytest.mark.skipif(
os.name == 'nt',
reason="lua isn't installed or can't be found",
)
xfailif_windows = pytest.mark.xfail(os.name == 'nt', reason='windows')