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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user