Skip to content

Commit 1039cd1

Browse files
authored
Update codecov config (#91)
1 parent 8cd59fd commit 1039cd1

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

.codecov.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
1+
codecov:
2+
require_ci_to_pass: no
3+
coverage:
4+
status:
5+
project:
6+
default:
7+
target: auto
8+
threshold: 5
19
ignore:
210
- Tests

.github/workflows/ios.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,3 @@ jobs:
5959
-skipPackagePluginValidation \
6060
-skipMacroValidation
6161
# OTHER_SWIFT_FLAGS="-warnings-as-errors" Conflicting options '-warnings-as-errors' and '-suppress-warnings'
62-
profdata_file_path=$(find . -path "./.build-test-debug/Build/ProfileData/*/Coverage.profdata" -type f)
63-
xcrun llvm-cov show \
64-
-instr-profile=$profdata_file_path \
65-
.build-test-debug/Build/Products/Debug-iphonesimulator/OpenGraphTests.xctest/OpenGraphTests \
66-
> coverage.txt
67-
- uses: codecov/codecov-action@v3
68-
with:
69-
token: ${{ secrets.CODECOV_TOKEN }}
70-
verbose: true

.github/workflows/macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
-c release \
5151
--enable-code-coverage \
5252
--build-path .build-test-release
53-
- uses: codecov/codecov-action@v3
53+
- uses: codecov/codecov-action@v5
5454
with:
5555
token: ${{ secrets.CODECOV_TOKEN }}
5656
verbose: true

0 commit comments

Comments
 (0)