Skip to content

Merge pull request #306 from weichsel/bugfix/uncontainedSymlinks #209

Merge pull request #306 from weichsel/bugfix/uncontainedSymlinks

Merge pull request #306 from weichsel/bugfix/uncontainedSymlinks #209

Workflow file for this run

name: Coverage
on:
push:
branches: [development]
pull_request:
branches: [development]
jobs:
Coverage:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- run: swift test -c release -Xswiftc -enable-testing --enable-code-coverage
- run: xcrun llvm-cov export -summary-only -ignore-filename-regex 'ZIPFoundationTests|.*Deprecated.*$' .build/release/ZIPFoundationPackageTests.xctest/Contents/MacOS/ZIPFoundationPackageTests -instr-profile .build/release/codecov/default.profdata > .build/coverage.json
- run: (cat .build/coverage.json|jq '.data[0]["totals"]["lines"]["percent"]' | grep -Eq "100") && { exit 0; } || { echo 'Please make sure that the test suite covers all framework code paths.'; exit 1; }