From f879ca6bd005261eef5f671ea10e2b3ec032b487 Mon Sep 17 00:00:00 2001 From: "xiongdian.me" Date: Fri, 6 Jan 2023 15:05:02 +0800 Subject: [PATCH] fix ci --- tools/test.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/test.zsh b/tools/test.zsh index 36643fc..ff7e4e3 100644 --- a/tools/test.zsh +++ b/tools/test.zsh @@ -43,10 +43,11 @@ test `git rev-parse HEAD` = `curl -fsSL https://api.beardic.cn/get-var/dfs-commi git reset --hard $DFS_VERSION # then check install.sh +./install.sh -dx DFS_CI=1 +grep -q "DFS_CI=1" ~/.config/dotfiles/env ./install.sh -l -x DFS_CI=1 dfs version test `git rev-parse HEAD` = `curl -fsSL https://api.beardic.cn/get-var/dfs-commit-id` -grep -q "DFS_CI=1" ~/.config/dotfiles/env # clean git reset --hard $DFS_VERSION