2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-06 11:23:44 +08:00

feat: init env in test

This commit is contained in:
耗子
2023-10-23 21:29:41 +08:00
parent fd0092a299
commit 39039534ba

View File

@@ -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: