diff --git a/.codecov.yml b/.codecov.yml index 3922952f..4f9f34b9 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -1,2 +1,10 @@ +codecov: + require_ci_to_pass: no +coverage: + status: + project: + default: + target: auto + threshold: 5 ignore: - Tests diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index c8077fca..f6cb8b81 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -59,12 +59,3 @@ jobs: -skipPackagePluginValidation \ -skipMacroValidation # OTHER_SWIFT_FLAGS="-warnings-as-errors" Conflicting options '-warnings-as-errors' and '-suppress-warnings' - profdata_file_path=$(find . -path "./.build-test-debug/Build/ProfileData/*/Coverage.profdata" -type f) - xcrun llvm-cov show \ - -instr-profile=$profdata_file_path \ - .build-test-debug/Build/Products/Debug-iphonesimulator/OpenGraphTests.xctest/OpenGraphTests \ - > coverage.txt - - uses: codecov/codecov-action@v3 - with: - token: ${{ secrets.CODECOV_TOKEN }} - verbose: true diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index b0f40008..f299b1c8 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -50,7 +50,7 @@ jobs: -c release \ --enable-code-coverage \ --build-path .build-test-release - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} verbose: true