From 3d54aca8b759fa22e82bf17fdff58cff1c598437 Mon Sep 17 00:00:00 2001 From: "xiongdian.me" Date: Thu, 5 Jan 2023 21:26:50 +0800 Subject: [PATCH] fix ci --- .github/workflows/test.yml | 5 ++++- tools/common.sh | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a223e10..b644e55 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -60,6 +60,7 @@ jobs: rev=`git rev-parse HEAD` pwd set -x + rm -rf /usr/local/bin/2to3-3.11 /usr/local/bin/2to3 ./install.sh -adl test `git rev-parse HEAD` = "$rev" @@ -132,4 +133,6 @@ jobs: - name: run tests shell: /bin/zsh -ileo PIPE_FAIL {0} - run: source tools/test.zsh \ No newline at end of file + run: | + dfs cd + source tools/test.zsh \ No newline at end of file diff --git a/tools/common.sh b/tools/common.sh index b9b3662..f0a85ba 100755 --- a/tools/common.sh +++ b/tools/common.sh @@ -15,7 +15,7 @@ if [[ "${BASH_SOURCE[0]}" != "${0}" ]]; then -q*|--quite ) export DFS_QUIET=1 ;; -l*|--lite ) export DFS_LITE=1 ;; --color ) export DFS_COLOR=1 ;; - --dry-run ) export DFS_DRY_RUN=1 ;; + --dry-run ) export DFS_DRY_RUN=1 ;; # TODO!!! --*=* ) GOT_OPTS+=("${ARG%%=*}" "${ARG#*=}") ;; --* ) GOT_OPTS+=("$ARG") ;; -* ) GOT_OPTS+=("${ARG:0:2}") ;;