Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardopinosio committed Mar 21, 2024
1 parent 310a20a commit abfec03
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func TestMain(m *testing.M) {
if err != nil {
panic(err)
}
err = os.MkdirAll("../models", os.ModePerm)
err = os.MkdirAll("/build/models", os.ModePerm)
if err != nil {
panic(err)
}
Expand Down
2 changes: 1 addition & 1 deletion hugot_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func TestMain(m *testing.M) {
if err != nil {
panic(err)
}
err = os.MkdirAll("./models", os.ModePerm)
err = os.MkdirAll("/build/models", os.ModePerm)
if err != nil {
panic(err)
}
Expand Down
1 change: 1 addition & 0 deletions scripts/run-unit-tests-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set -e

cd /build && \
mkdir -p /test/unit && \
ls -la . && \
gotestsum --junitfile=/test/unit/unit.xml --jsonfile=/test/unit/unit.json -- -coverprofile=/test/unit/cover.out -race -covermode=atomic ./...

echo Done.

0 comments on commit abfec03

Please sign in to comment.