diff --git a/.air.toml b/.air.toml index 7b5a5cb86a7..4b3297fc1a7 100644 --- a/.air.toml +++ b/.air.toml @@ -7,3 +7,4 @@ bin = "gitea" include_ext = ["go", "tmpl"] exclude_dir = ["modules/git/tests", "services/gitdiff/testdata", "modules/avatar/testdata"] include_dir = ["cmd", "models", "modules", "options", "routers", "services", "templates"] +exclude_regex = ["_test.go$"]