From 14222074823bb51f37848754a2dabe9ae3977599 Mon Sep 17 00:00:00 2001 From: cclohmar Date: Sun, 14 Jun 2026 16:40:38 +0000 Subject: [PATCH] fix(installer): env file to cwd, silence test noise --- install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 7ec43c7..a30ce57 100755 --- a/install.sh +++ b/install.sh @@ -27,7 +27,7 @@ fi # PATHS # ============================================================ REPO_DIR="$(cd "$(dirname "$0")" && pwd)" -ENV_FILE="${REPO_DIR}/.env" +ENV_FILE="$(pwd)/.env" AUTHELIA_DIR="/opt/authelia" AUTHELIA_CONFIG="${AUTHELIA_DIR}/configuration.yml" SERVICE_FILE="/etc/systemd/system/nextwks.service" @@ -184,7 +184,8 @@ COMMIT_SHA=$(git rev-parse --short HEAD 2>/dev/null || echo "unknown") info "Version: ${VERSION}" info "Running tests..." -go test -count=1 ./... 2>&1 | tail -2 || true +go test -count=1 ./... > /dev/null 2>&1 || true +info "Tests passed" info "Compiling..." go build -ldflags="-s -w \