Skip to content

Commit

Permalink
check for exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
juancwu committed Nov 26, 2024
1 parent f336f7a commit d8e6972
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ jobs:
# run tests and capture output
cd backend
go test -v -coverprofile=coverage.out ./...
if [ $? -eq 1 ]; then
exit 1
fi
# - name: Generate coverage report
# run: cd backend && go tool cover -html=coverage.out -o coverage.html
# - name: Upload coverage report
Expand Down

0 comments on commit d8e6972

Please sign in to comment.