feat: add build tag to skip Watcher support (#1076)

* feat: add build tag to skip Watcher support

* fix

* fix

* cleanup
This commit is contained in:
Kévin Dunglas
2024-10-08 23:23:53 +02:00
committed by GitHub
parent ce13140d6b
commit e9c075a4a5
20 changed files with 101 additions and 72 deletions
+2 -2
View File
@@ -71,11 +71,11 @@ jobs:
run: go build
-
name: Run library tests
run: go test -race -v ./...
run: go test -tags watcher -race -v ./...
-
name: Run Caddy module tests
working-directory: caddy/
run: go test -race -v ./...
run: go test -tags watcher -race -v ./...
-
name: Build the server
working-directory: caddy/frankenphp/