File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 99
1010 steps :
1111 - uses : actions/checkout@v2
12- - name : Build for macOS
13- run : swift build
14- - name : Test for macOS
15- run : swift test
12+ - name : Build and Test for macOS
13+ run : swift test --enable-code-coverage
14+ - name : Upload Code coverage
15+ run : |
16+ curl -Os https://uploader.codecov.io/latest/macos/codecov
17+ chmod +x codecov
18+ codecovpath=$(swift test --show-codecov-path)
19+ ./codecov -f $codecovpath
Original file line number Diff line number Diff line change 11# opentelemetry-swift
22
33[ ![ CI] ( https://github.com/open-telemetry/opentelemetry-swift/actions/workflows/BuildAndTest.yml/badge.svg )] ( https://github.com/open-telemetry/opentelemetry-swift/actions/workflows/BuildAndTest.yml?query=branch%3Amain+ )
4+ [ ![ codecov] ( https://codecov.io/gh/open-telemetry/opentelemetry-swift/branch/master/graph/badge.svg )] ( https://codecov.io/gh/open-telemetry/opentelemetry-swift )
5+
46
57
68A swift [ OpenTelemetry] ( https://opentelemetry.io/ ) client
You can’t perform that action at this time.
0 commit comments