Skip to content

Commit

Permalink
Exit on error
Browse files Browse the repository at this point in the history
This way when the build or tests fail the last coverage report is not displayed
  • Loading branch information
Nef10 authored Oct 2, 2021
1 parent 215b622 commit b12dda0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions swift-test-coverage
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -e

swift test --enable-code-coverage
echo ""
Expand Down

0 comments on commit b12dda0

Please sign in to comment.