From 19a4fdaabfc83fa0076898a825247186fb2bba97 Mon Sep 17 00:00:00 2001 From: Wojtek Zieba Date: Fri, 12 Jan 2024 12:19:07 +0100 Subject: [PATCH 01/18] build: apply code coverage exclusions for each module Previously it was applied only to the merged report. --- config/gradle/code_coverage.gradle | 85 +++++++++++++++--------------- 1 file changed, 43 insertions(+), 42 deletions(-) diff --git a/config/gradle/code_coverage.gradle b/config/gradle/code_coverage.gradle index 6ffe328b90ba..32178c2fda1b 100644 --- a/config/gradle/code_coverage.gradle +++ b/config/gradle/code_coverage.gradle @@ -15,6 +15,49 @@ subprojects { } } } + + koverReport { + filters { + excludes { + packages( + 'com.bumptech.glide', + 'dagger.*', + '*.compose*', + '*.debug*', + 'hilt_aggregated_deps', + '*.databinding', + 'org.wordpress.android.modules', + 'org.wordpress.android.widgets', + ) + + classes( + '*_Factory*', + '*Activity', + '*Activity$*', + '*Adapter', + '*Adapter$*', + '*BuildConfig', + '*DiffCallback*', + '*Dialog', + '*Dialog$*', + '*Fragment', + '*Fragment$*', + '*FragmentDirections*', + '*FragmentKt*', + '*Module', + '*Module_*', + '*View', + '*View$*', + '*ViewHolder', + '*ViewHolder$*', + '*ViewHolderKt*', + '*.Hilt_*', + '*HiltModules*', + '*_MembersInjector', + ) + } + } + } } } @@ -27,45 +70,3 @@ dependencies { ) } -koverReport { - filters { - excludes { - packages( - 'com.bumptech.glide', - 'dagger.*', - '*.compose*', - '*.debug*', - 'hilt_aggregated_deps', - '*.databinding', - 'org.wordpress.android.modules', - 'org.wordpress.android.widgets', - ) - - classes( - '*_Factory*', - '*Activity', - '*Activity$*', - '*Adapter', - '*Adapter$*', - '*BuildConfig', - '*DiffCallback*', - '*Dialog', - '*Dialog$*', - '*Fragment', - '*Fragment$*', - '*FragmentDirections*', - '*FragmentKt*', - '*Module', - '*Module_*', - '*View', - '*View$*', - '*ViewHolder', - '*ViewHolder$*', - '*ViewHolderKt*', - '*.Hilt_*', - '*HiltModules*', - '*_MembersInjector', - ) - } - } -} From 8ca07ce69153a5dceb9e392d71c0d3cfdff7cc15 Mon Sep 17 00:00:00 2001 From: Wojtek Zieba Date: Fri, 12 Jan 2024 12:19:20 +0100 Subject: [PATCH 02/18] build: add `upload-code-coverage` script --- .buildkite/commands/upload-code-coverage.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .buildkite/commands/upload-code-coverage.sh diff --git a/.buildkite/commands/upload-code-coverage.sh b/.buildkite/commands/upload-code-coverage.sh new file mode 100644 index 000000000000..05d40056ad9a --- /dev/null +++ b/.buildkite/commands/upload-code-coverage.sh @@ -0,0 +1,10 @@ +#!/bin/bash -eu + +curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import +curl -Os https://uploader.codecov.io/latest/linux/codecov +curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM +curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig +gpgv codecov.SHA256SUM.sig codecov.SHA256SUM +sha256sum -c codecov.SHA256SUM +chmod +x codecov +./codecov -t "$CODECOV_TOKEN" From 34e9bb84171c679524245e2b8167229cf7467eb0 Mon Sep 17 00:00:00 2001 From: Wojtek Zieba Date: Fri, 12 Jan 2024 12:19:40 +0100 Subject: [PATCH 03/18] build: generate & upload code coverage on CI --- .buildkite/commands/run-unit-tests.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.buildkite/commands/run-unit-tests.sh b/.buildkite/commands/run-unit-tests.sh index c2326b1e6731..8173960fb1cb 100755 --- a/.buildkite/commands/run-unit-tests.sh +++ b/.buildkite/commands/run-unit-tests.sh @@ -3,13 +3,13 @@ echo "--- 🧪 Testing" set +e if [ "$1" == "wordpress" ]; then - test_suite="testWordpressVanillaRelease" + test_suite="testWordpressVanillaRelease koverXmlReportWordpressVanillaRelease" test_log_dir="WordPress/build/test-results/*/*.xml" elif [ "$1" == "processors" ]; then - test_suite=":libs:processors:test" + test_suite=":libs:processors:test :libs:processors:koverXmlReport" test_log_dir="libs/processors/build/test-results/test/*.xml" elif [ "$1" == "image-editor" ]; then - test_suite=":libs:image-editor:testReleaseUnitTest" + test_suite=":libs:image-editor:testReleaseUnitTest :libs:image-editor:koverXmlReportRelease" test_log_dir="libs/image-editor/build/test-results/testReleaseUnitTest/*.xml" else echo "Invalid Test Suite! Expected 'wordpress', 'processors', or 'image-editor', received '$1' instead" @@ -46,4 +46,7 @@ echo "--- 🧪 Copying test logs for test collector" mkdir buildkite-test-analytics cp $test_log_dir buildkite-test-analytics +echo "--- ⚒️ Uploading code coverage" +.buildkite/commands/upload-code-coverage.sh + exit $TESTS_EXIT_STATUS From 9938e56850747cb52feafd4aa5f225f728d61456 Mon Sep 17 00:00:00 2001 From: Wojtek Zieba Date: Fri, 12 Jan 2024 12:28:58 +0100 Subject: [PATCH 04/18] build: update codecov script permissions --- .buildkite/commands/upload-code-coverage.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 .buildkite/commands/upload-code-coverage.sh diff --git a/.buildkite/commands/upload-code-coverage.sh b/.buildkite/commands/upload-code-coverage.sh old mode 100644 new mode 100755 From 2c1f5d8d23155728077578e436a0526ff4f435c0 Mon Sep 17 00:00:00 2001 From: Wojtek Zieba Date: Fri, 12 Jan 2024 13:07:10 +0100 Subject: [PATCH 05/18] temp: ls WordPress code coverage reports dir --- .buildkite/commands/run-unit-tests.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.buildkite/commands/run-unit-tests.sh b/.buildkite/commands/run-unit-tests.sh index 8173960fb1cb..b577f97d9aed 100755 --- a/.buildkite/commands/run-unit-tests.sh +++ b/.buildkite/commands/run-unit-tests.sh @@ -47,6 +47,7 @@ mkdir buildkite-test-analytics cp $test_log_dir buildkite-test-analytics echo "--- ⚒️ Uploading code coverage" +ls WordPress/build/reports/kover .buildkite/commands/upload-code-coverage.sh exit $TESTS_EXIT_STATUS From 142c92d3bed204e2e09cf6254c0571fda612b58f Mon Sep 17 00:00:00 2001 From: Wojtek Zieba Date: Fri, 12 Jan 2024 13:07:46 +0100 Subject: [PATCH 06/18] temp: make codecov verbose --- .buildkite/commands/upload-code-coverage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/commands/upload-code-coverage.sh b/.buildkite/commands/upload-code-coverage.sh index 05d40056ad9a..d5a56527978e 100755 --- a/.buildkite/commands/upload-code-coverage.sh +++ b/.buildkite/commands/upload-code-coverage.sh @@ -7,4 +7,4 @@ curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig gpgv codecov.SHA256SUM.sig codecov.SHA256SUM sha256sum -c codecov.SHA256SUM chmod +x codecov -./codecov -t "$CODECOV_TOKEN" +./codecov -t "$CODECOV_TOKEN" --verbose From d83520f13f8333570dcc592145a027c2ae32d6f4 Mon Sep 17 00:00:00 2001 From: Wojtek Zieba Date: Fri, 12 Jan 2024 13:15:34 +0100 Subject: [PATCH 07/18] temp: ls only reports dir --- .buildkite/commands/run-unit-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/commands/run-unit-tests.sh b/.buildkite/commands/run-unit-tests.sh index b577f97d9aed..fdc7853f97a8 100755 --- a/.buildkite/commands/run-unit-tests.sh +++ b/.buildkite/commands/run-unit-tests.sh @@ -47,7 +47,7 @@ mkdir buildkite-test-analytics cp $test_log_dir buildkite-test-analytics echo "--- ⚒️ Uploading code coverage" -ls WordPress/build/reports/kover +ls WordPress/build/reports .buildkite/commands/upload-code-coverage.sh exit $TESTS_EXIT_STATUS From 9a82f82f2a89b8fb45817ae5820e09f83cbb892d Mon Sep 17 00:00:00 2001 From: Wojtek Zieba Date: Fri, 12 Jan 2024 13:37:06 +0100 Subject: [PATCH 08/18] temp: disable cache for koverGenerateArtifact --- .buildkite/commands/run-unit-tests.sh | 2 +- config/gradle/code_coverage.gradle | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.buildkite/commands/run-unit-tests.sh b/.buildkite/commands/run-unit-tests.sh index fdc7853f97a8..c05935ba1155 100755 --- a/.buildkite/commands/run-unit-tests.sh +++ b/.buildkite/commands/run-unit-tests.sh @@ -47,7 +47,7 @@ mkdir buildkite-test-analytics cp $test_log_dir buildkite-test-analytics echo "--- ⚒️ Uploading code coverage" -ls WordPress/build/reports +ls .buildkite/commands/upload-code-coverage.sh exit $TESTS_EXIT_STATUS diff --git a/config/gradle/code_coverage.gradle b/config/gradle/code_coverage.gradle index 32178c2fda1b..5ffc7e787bf7 100644 --- a/config/gradle/code_coverage.gradle +++ b/config/gradle/code_coverage.gradle @@ -6,6 +6,10 @@ static String resolveProjectVariantForCodeCoverage(Project project) { } } +project.tasks.named("koverGenerateArtifact") { + outputs.cacheIf { false } +} + subprojects { pluginManager.withPlugin("org.jetbrains.kotlinx.kover") { if (project.plugins.hasPlugin("com.android.library") || project.plugins.hasPlugin("com.android.application")) { From a4b61e7405d498268c94bdf7f523cf8b5330e3a4 Mon Sep 17 00:00:00 2001 From: Wojtek Zieba Date: Fri, 12 Jan 2024 13:47:36 +0100 Subject: [PATCH 09/18] temp: more loging for image-editor run --- .buildkite/commands/run-unit-tests.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.buildkite/commands/run-unit-tests.sh b/.buildkite/commands/run-unit-tests.sh index c05935ba1155..c5f7231868ac 100755 --- a/.buildkite/commands/run-unit-tests.sh +++ b/.buildkite/commands/run-unit-tests.sh @@ -47,7 +47,13 @@ mkdir buildkite-test-analytics cp $test_log_dir buildkite-test-analytics echo "--- ⚒️ Uploading code coverage" +if [[ $test_suite == 'image-editor']]; then ls +ls libs/image-editor/build/ +ls libs/image-editor/build/reports +ls libs/image-editor/build/reports/kover +cat libs/image-editor/build/reports/kover/reportRelease.xml +fi .buildkite/commands/upload-code-coverage.sh exit $TESTS_EXIT_STATUS From 2aa86f97a05bf9b7e4cc2c652265a46fc1be509c Mon Sep 17 00:00:00 2001 From: Wojtek Zieba Date: Fri, 12 Jan 2024 13:56:03 +0100 Subject: [PATCH 10/18] temp: fix run unit tests script --- .buildkite/commands/run-unit-tests.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.buildkite/commands/run-unit-tests.sh b/.buildkite/commands/run-unit-tests.sh index c5f7231868ac..e5527aa10da1 100755 --- a/.buildkite/commands/run-unit-tests.sh +++ b/.buildkite/commands/run-unit-tests.sh @@ -47,12 +47,12 @@ mkdir buildkite-test-analytics cp $test_log_dir buildkite-test-analytics echo "--- ⚒️ Uploading code coverage" -if [[ $test_suite == 'image-editor']]; then -ls -ls libs/image-editor/build/ -ls libs/image-editor/build/reports -ls libs/image-editor/build/reports/kover -cat libs/image-editor/build/reports/kover/reportRelease.xml +if [[ $test_suite == 'image-editor' ]]; then + ls + ls libs/image-editor/build/ + ls libs/image-editor/build/reports + ls libs/image-editor/build/reports/kover + cat libs/image-editor/build/reports/kover/reportRelease.xml fi .buildkite/commands/upload-code-coverage.sh From 32df7b08a8e7f58f590c3c8b4f8855f75ae06c3d Mon Sep 17 00:00:00 2001 From: Wojtek Zieba Date: Fri, 12 Jan 2024 14:04:33 +0100 Subject: [PATCH 11/18] temp: fix run unit tests script --- .buildkite/commands/run-unit-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/commands/run-unit-tests.sh b/.buildkite/commands/run-unit-tests.sh index e5527aa10da1..78b34ed71c73 100755 --- a/.buildkite/commands/run-unit-tests.sh +++ b/.buildkite/commands/run-unit-tests.sh @@ -47,7 +47,7 @@ mkdir buildkite-test-analytics cp $test_log_dir buildkite-test-analytics echo "--- ⚒️ Uploading code coverage" -if [[ $test_suite == 'image-editor' ]]; then +if [[ "$1" == "image-editor" ]]; then ls ls libs/image-editor/build/ ls libs/image-editor/build/reports From fb6b8d3b96e2e689631cd3d069227e1290cf96b1 Mon Sep 17 00:00:00 2001 From: Wojtek Zieba Date: Fri, 12 Jan 2024 14:28:29 +0100 Subject: [PATCH 12/18] build: specify codecoverage files for codecov script --- .buildkite/commands/run-unit-tests.sh | 5 ++++- .buildkite/commands/upload-code-coverage.sh | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.buildkite/commands/run-unit-tests.sh b/.buildkite/commands/run-unit-tests.sh index 78b34ed71c73..1e3baac35b26 100755 --- a/.buildkite/commands/run-unit-tests.sh +++ b/.buildkite/commands/run-unit-tests.sh @@ -5,12 +5,15 @@ set +e if [ "$1" == "wordpress" ]; then test_suite="testWordpressVanillaRelease koverXmlReportWordpressVanillaRelease" test_log_dir="WordPress/build/test-results/*/*.xml" + code_coverage_report="WordPress/build/reports/kover/reportWordpressVanillaRelease.xml" elif [ "$1" == "processors" ]; then test_suite=":libs:processors:test :libs:processors:koverXmlReport" test_log_dir="libs/processors/build/test-results/test/*.xml" + code_coverage_report="libs/processors/build/reports/kover/report.xml" elif [ "$1" == "image-editor" ]; then test_suite=":libs:image-editor:testReleaseUnitTest :libs:image-editor:koverXmlReportRelease" test_log_dir="libs/image-editor/build/test-results/testReleaseUnitTest/*.xml" + code_coverage_report="libs/image-editor/build/reports/kover/reportRelease.xml" else echo "Invalid Test Suite! Expected 'wordpress', 'processors', or 'image-editor', received '$1' instead" exit 1 @@ -54,6 +57,6 @@ if [[ "$1" == "image-editor" ]]; then ls libs/image-editor/build/reports/kover cat libs/image-editor/build/reports/kover/reportRelease.xml fi -.buildkite/commands/upload-code-coverage.sh +.buildkite/commands/upload-code-coverage.sh $code_coverage_report exit $TESTS_EXIT_STATUS diff --git a/.buildkite/commands/upload-code-coverage.sh b/.buildkite/commands/upload-code-coverage.sh index d5a56527978e..43b50314c477 100755 --- a/.buildkite/commands/upload-code-coverage.sh +++ b/.buildkite/commands/upload-code-coverage.sh @@ -7,4 +7,4 @@ curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig gpgv codecov.SHA256SUM.sig codecov.SHA256SUM sha256sum -c codecov.SHA256SUM chmod +x codecov -./codecov -t "$CODECOV_TOKEN" --verbose +./codecov -t "$CODECOV_TOKEN" --verbose -f "$1" From 88e7f6335d5f44a324a56372e58c7c43c5f54ac8 Mon Sep 17 00:00:00 2001 From: Wojtek Zieba Date: Fri, 12 Jan 2024 16:05:57 +0100 Subject: [PATCH 13/18] Revert "temp: more loging for image-editor run" This reverts commit a4b61e7405d498268c94bdf7f523cf8b5330e3a4. --- .buildkite/commands/run-unit-tests.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.buildkite/commands/run-unit-tests.sh b/.buildkite/commands/run-unit-tests.sh index 1e3baac35b26..85a538815abc 100755 --- a/.buildkite/commands/run-unit-tests.sh +++ b/.buildkite/commands/run-unit-tests.sh @@ -50,13 +50,8 @@ mkdir buildkite-test-analytics cp $test_log_dir buildkite-test-analytics echo "--- ⚒️ Uploading code coverage" -if [[ "$1" == "image-editor" ]]; then - ls - ls libs/image-editor/build/ - ls libs/image-editor/build/reports - ls libs/image-editor/build/reports/kover - cat libs/image-editor/build/reports/kover/reportRelease.xml -fi +ls +.buildkite/commands/upload-code-coverage.sh .buildkite/commands/upload-code-coverage.sh $code_coverage_report exit $TESTS_EXIT_STATUS From 6dff4dcbfdd201582cc090edd749cb5f05a66619 Mon Sep 17 00:00:00 2001 From: Wojtek Zieba Date: Fri, 12 Jan 2024 16:06:24 +0100 Subject: [PATCH 14/18] Revert "temp: make codecov verbose" This reverts commit 142c92d3bed204e2e09cf6254c0571fda612b58f. --- .buildkite/commands/run-unit-tests.sh | 2 +- .buildkite/commands/upload-code-coverage.sh | 2 +- config/gradle/code_coverage.gradle | 4 ---- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.buildkite/commands/run-unit-tests.sh b/.buildkite/commands/run-unit-tests.sh index 85a538815abc..7f66dc4798b6 100755 --- a/.buildkite/commands/run-unit-tests.sh +++ b/.buildkite/commands/run-unit-tests.sh @@ -50,7 +50,7 @@ mkdir buildkite-test-analytics cp $test_log_dir buildkite-test-analytics echo "--- ⚒️ Uploading code coverage" -ls +ls WordPress/build/reports/kover .buildkite/commands/upload-code-coverage.sh .buildkite/commands/upload-code-coverage.sh $code_coverage_report diff --git a/.buildkite/commands/upload-code-coverage.sh b/.buildkite/commands/upload-code-coverage.sh index 43b50314c477..1d3c343f6319 100755 --- a/.buildkite/commands/upload-code-coverage.sh +++ b/.buildkite/commands/upload-code-coverage.sh @@ -7,4 +7,4 @@ curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig gpgv codecov.SHA256SUM.sig codecov.SHA256SUM sha256sum -c codecov.SHA256SUM chmod +x codecov -./codecov -t "$CODECOV_TOKEN" --verbose -f "$1" +./codecov -t "$CODECOV_TOKEN" -f "$1" diff --git a/config/gradle/code_coverage.gradle b/config/gradle/code_coverage.gradle index 5ffc7e787bf7..32178c2fda1b 100644 --- a/config/gradle/code_coverage.gradle +++ b/config/gradle/code_coverage.gradle @@ -6,10 +6,6 @@ static String resolveProjectVariantForCodeCoverage(Project project) { } } -project.tasks.named("koverGenerateArtifact") { - outputs.cacheIf { false } -} - subprojects { pluginManager.withPlugin("org.jetbrains.kotlinx.kover") { if (project.plugins.hasPlugin("com.android.library") || project.plugins.hasPlugin("com.android.application")) { From 689c4ddbbfbef44f48367963ee1a8bb4328cfed9 Mon Sep 17 00:00:00 2001 From: Wojtek Zieba Date: Fri, 12 Jan 2024 16:06:36 +0100 Subject: [PATCH 15/18] Revert "temp: ls WordPress code coverage reports dir" This reverts commit 2c1f5d8d23155728077578e436a0526ff4f435c0. --- .buildkite/commands/run-unit-tests.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/.buildkite/commands/run-unit-tests.sh b/.buildkite/commands/run-unit-tests.sh index 7f66dc4798b6..860ef2930e51 100755 --- a/.buildkite/commands/run-unit-tests.sh +++ b/.buildkite/commands/run-unit-tests.sh @@ -50,7 +50,6 @@ mkdir buildkite-test-analytics cp $test_log_dir buildkite-test-analytics echo "--- ⚒️ Uploading code coverage" -ls WordPress/build/reports/kover .buildkite/commands/upload-code-coverage.sh .buildkite/commands/upload-code-coverage.sh $code_coverage_report From 1a232d049e301b68204f139e716f4a2c46de8b7c Mon Sep 17 00:00:00 2001 From: Wojtek Zieba Date: Fri, 12 Jan 2024 16:07:37 +0100 Subject: [PATCH 16/18] style: remove post git revert unnecessary line --- .buildkite/commands/run-unit-tests.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/.buildkite/commands/run-unit-tests.sh b/.buildkite/commands/run-unit-tests.sh index 860ef2930e51..c8ee2cf56788 100755 --- a/.buildkite/commands/run-unit-tests.sh +++ b/.buildkite/commands/run-unit-tests.sh @@ -50,7 +50,6 @@ mkdir buildkite-test-analytics cp $test_log_dir buildkite-test-analytics echo "--- ⚒️ Uploading code coverage" -.buildkite/commands/upload-code-coverage.sh .buildkite/commands/upload-code-coverage.sh $code_coverage_report exit $TESTS_EXIT_STATUS From 168398fc3b9c9273a80465b064de9862c317ff58 Mon Sep 17 00:00:00 2001 From: Wojtek Zieba Date: Fri, 12 Jan 2024 16:30:19 +0100 Subject: [PATCH 17/18] docs: add code coverage documentation --- docs/code-coverage.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 docs/code-coverage.md diff --git a/docs/code-coverage.md b/docs/code-coverage.md new file mode 100644 index 000000000000..3b257dcab4c6 --- /dev/null +++ b/docs/code-coverage.md @@ -0,0 +1,12 @@ +# Code coverage + +This project uses [Kover](https://github.com/Kotlin/kotlinx-kover) tool for generating code coverage metrics. +To run the code coverage report for the whole codebase, run `./gradlew koverHtmlReport` and open the HTML report at `WordPress/build/reports/kover/html/index.html`. + +## Coverage exclusions + +To get more precise results of the metrics, some classes are excluded from code coverage calculations. Those classes are e.g. Dagger/Hilt generated code, Acitivies, Fragments, databinding etc. A complete list of exclusions is available in the `config/gradle/code_coverage.gradle` file. + +## Codecov + +We also have `Codecov` integration for getting reports on each PR and observing trends. See [the dashboard](https://app.codecov.io/github/wordpress-mobile/WordPress-Android/) to get more insights. From ea9cb25964b8d8f5cdf39af11b5b7710bb959f80 Mon Sep 17 00:00:00 2001 From: Wojtek Zieba Date: Fri, 12 Jan 2024 16:33:14 +0100 Subject: [PATCH 18/18] build: add codecov configuration file To disable PR checks on GitHub. `max_report_age: off` has this context: https://github.com/woocommerce/woocommerce-android/pull/6251 --- codecov.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 codecov.yml diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 000000000000..ec6a47201a74 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,8 @@ +comment: + require_changes: true +coverage: + status: + project: off + patch: off +codecov: + max_report_age: off