From 310a20adb853600b2e51c66b95f218031e72a977 Mon Sep 17 00:00:00 2001 From: riccardopinosio Date: Thu, 21 Mar 2024 09:06:33 +0100 Subject: [PATCH] text fix --- .github/workflows/release.yaml | 2 +- .github/workflows/test.yaml | 2 +- hugot_test.go | 1 - scripts/entrypoint.sh | 1 - 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3abf10c..0018a88 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -23,7 +23,7 @@ jobs: run: | go mod download - name: Build and run tests - run: make run-tests + run: make clean run-tests - name: Install goveralls run: go install github.com/mattn/goveralls@latest - name: Send coverage diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index aa626c6..6b425e4 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -20,7 +20,7 @@ jobs: run: | go mod download - name: Build and run tests - run: make run-tests + run: make clean run-tests - name: Install goveralls run: go install github.com/mattn/goveralls@latest - name: Send coverage diff --git a/hugot_test.go b/hugot_test.go index ef51161..52670d2 100644 --- a/hugot_test.go +++ b/hugot_test.go @@ -35,7 +35,6 @@ func TestMain(m *testing.M) { } err = os.MkdirAll("./models", os.ModePerm) if err != nil { - fmt.Println(os.Getwd()) panic(err) } downloadOptions := NewDownloadOptions() diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh index 7ac2923..72166be 100644 --- a/scripts/entrypoint.sh +++ b/scripts/entrypoint.sh @@ -19,5 +19,4 @@ fi echo "$1 running with user: $user_name" chown "$user_name:$user_name" "$1" && chmod +x "$1" -ls -la /build exec runuser -u $user_name -- "$1" "${arguments[@]}"