File tree 5 files changed +30
-0
lines changed
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 12
12
unit_test :
13
13
name : Unit Test
14
14
uses : ./.github/workflows/unit-test.yaml
15
+ secrets : inherit
Original file line number Diff line number Diff line change 28
28
run : swift package resolve
29
29
- name : Run Unit Tests
30
30
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 1
1
# Swift OFREP
2
2
3
3
[ ![ 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 )
4
5
5
6
A cross-platform [ OFREP] ( https://github.com/open-feature/protocol ) provider for Swift,
6
7
based on [ Swift OpenFeature] ( https://github.com/swift-open-feature/swift-open-feature ) .
You can’t perform that action at this time.
0 commit comments