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[@]}"