From 39039534ba792990bedf63c653716c8bbb8e7029 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Mon, 23 Oct 2023 21:29:41 +0800 Subject: [PATCH] feat: init env in test --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 70c814d8..03c85ae9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -43,6 +43,7 @@ unit_test: - wget -O /etc/apt/sources.list https://mirrors.ustc.edu.cn/repogen/conf/debian-http-4-bookworm - apt-get update - apt-get install -y curl jq + - cp panel-example.conf .env - go test -v -coverprofile=coverage.txt -covermode=atomic ./... build: