Skip to content

Commit

Permalink
chore: add codacy coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
auula committed Sep 10, 2023
1 parent 387bd0d commit 315f198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ elif [ "$case_num" -eq 2 ]; then
elif [ "$case_num" -eq 3 ]; then
echo "Testing server package"
elif [ "$case_num" -eq 4 ]; then
cd cmd && go test -c -race -coverprofile=coverage.out -covermode=atomic -v
cd cmd && sudo go test -c -race -coverprofile=coverage.out -covermode=atomic -v
sudo ./cmd.test
else
echo "Invalid option. Please provide a valid option (1, 2, or 3)."
Expand Down

0 comments on commit 315f198

Please sign in to comment.