Exclude from watching tests (#17744)

tokarchuk/v1.17
Gusted 3 years ago committed by GitHub
parent 499b05da22
commit 58ff86ed4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      .air.toml

@ -7,3 +7,4 @@ bin = "gitea"
include_ext = ["go", "tmpl"] include_ext = ["go", "tmpl"]
exclude_dir = ["modules/git/tests", "services/gitdiff/testdata", "modules/avatar/testdata"] exclude_dir = ["modules/git/tests", "services/gitdiff/testdata", "modules/avatar/testdata"]
include_dir = ["cmd", "models", "modules", "options", "routers", "services", "templates"] include_dir = ["cmd", "models", "modules", "options", "routers", "services", "templates"]
exclude_regex = ["_test.go$"]

Loading…
Cancel
Save