File tree Expand file tree Collapse file tree 5 files changed +30
-0
lines changed Expand file tree Collapse file tree 5 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ coverage :
2+ status :
3+ project :
4+ default :
5+ threshold : 5%
Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " github-actions"
4+ directory : " /"
5+ schedule :
6+ interval : " weekly"
7+ reviewers :
8+ - " slashmo"
Original file line number Diff line number Diff line change 1212 unit_test :
1313 name : Unit Test
1414 uses : ./.github/workflows/unit-test.yaml
15+ secrets : inherit
Original file line number Diff line number Diff line change 2828 run : swift package resolve
2929 - name : Run Unit Tests
3030 run : swift test --parallel --enable-code-coverage
31+ - name : Merge code coverage
32+ run : |
33+ llvm-cov export -format "lcov" \
34+ .build/debug/swift-ofrepPackageTests.xctest \
35+ -ignore-filename-regex="\/Tests\/" \
36+ -ignore-filename-regex="\/Generated\/" \
37+ -ignore-filename-regex="\/.build\/" \
38+ -instr-profile=./.build/debug/codecov/default.profdata \
39+ > info.lcov
40+ - name : Upload code coverage report to Codecov
41+ 42+ with :
43+ files : ./info.lcov
44+ fail_ci_if_error : true
45+ token : " ${{ secrets.CODECOV_TOKEN }}"
Original file line number Diff line number Diff line change 11# Swift OFREP
22
33[ ![ Unit Test] ( https://github.com/swift-open-feature/swift-ofrep/actions/workflows/unit-test.yaml/badge.svg )] ( https://github.com/swift-open-feature/swift-ofrep/actions/workflows/unit-test.yaml )
4+ [ ![ codecov] ( https://codecov.io/gh/swift-open-feature/swift-ofrep/graph/badge.svg?token=YK7Y25KOFU )] ( https://codecov.io/gh/swift-open-feature/swift-ofrep )
45
56A cross-platform [ OFREP] ( https://github.com/open-feature/protocol ) provider for Swift,
67based on [ Swift OpenFeature] ( https://github.com/swift-open-feature/swift-open-feature ) .
You can’t perform that action at this time.
0 commit comments