From 58ff86ed4d79e22a2a17bcd852ed4faffd73a069 Mon Sep 17 00:00:00 2001 From: Gusted Date: Mon, 22 Nov 2021 10:17:21 +0000 Subject: [PATCH] Exclude from watching tests (#17744) --- .air.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/.air.toml b/.air.toml index 7b5a5cb86a..4b3297fc1a 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$"]