From 99d5a070979d1902c9ccd62f075ed5e04ce225ef Mon Sep 17 00:00:00 2001 From: Pablo Andres Fuente Date: Tue, 1 Dec 2020 05:00:19 +0000 Subject: [PATCH 1/2] Adding Codecov configuration Adding a 1% of threshold for coverage diffs --- codecov.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 codecov.yml diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 00000000..0fa3a3f1 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,11 @@ +coverage: + status: + project: + default: + threshold: 1% + patch: + default: + threshold: 1% + +comment: + require_changes: true \ No newline at end of file From 61514f1c847d8fe466e2bf7edf4db413e1c884e3 Mon Sep 17 00:00:00 2001 From: Pablo Andres Fuente Date: Tue, 1 Dec 2020 05:06:31 +0000 Subject: [PATCH 2/2] Changes on codecov.yml will trigger GitHub Actions --- .github/workflows/echo.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/echo.yml b/.github/workflows/echo.yml index 839530e2..b852fae4 100644 --- a/.github/workflows/echo.yml +++ b/.github/workflows/echo.yml @@ -9,6 +9,7 @@ on: - 'go.*' - '_fixture/**' - '.github/**' + - 'codecov.yml' pull_request: branches: - master @@ -17,6 +18,7 @@ on: - 'go.*' - '_fixture/**' - '.github/**' + - 'codecov.yml' jobs: test: