2019-05-19 02:56:28 +08:00
|
|
|
#!/bin/bash
|
|
|
|
|
2020-04-07 22:26:42 +08:00
|
|
|
set -ex
|
|
|
|
|
2020-06-11 01:26:43 +08:00
|
|
|
swift test --enable-code-coverage
|
|
|
|
xcrun llvm-cov show \
|
|
|
|
.build/debug/TokamakPackageTests.xctest/Contents/MacOS/TokamakPackageTests \
|
|
|
|
-instr-profile=.build/debug/codecov/default.profdata > coverage.txt
|