From 8b0adcdfcc7cf5b61e1603e82ab2b67bddc5d426 Mon Sep 17 00:00:00 2001 From: Matt Weiden <538456+mweiden@users.noreply.github.com> Date: Wed, 26 Feb 2020 14:57:46 -0800 Subject: [PATCH] Add codecov configuration (#1180) * Add codecov configuration * Modify workflow --- .codecov.yml | 8 ++++++++ .github/workflows/push_tests.yml | 8 ++++---- 2 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 .codecov.yml diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 00000000..bfdc9877 --- /dev/null +++ b/.codecov.yml @@ -0,0 +1,8 @@ +coverage: + status: + project: + default: + informational: true + patch: + default: + informational: true diff --git a/.github/workflows/push_tests.yml b/.github/workflows/push_tests.yml index 12b627d9..8bf8a943 100644 --- a/.github/workflows/push_tests.yml +++ b/.github/workflows/push_tests.yml @@ -47,8 +47,8 @@ jobs: - name: Unit tests run: | make unit-test - bash <(curl -s https://codecov.io/bash) -k server -cF backend,python,unitTest - cd client && ./node_modules/codecov/bin/codecov --root=../ --gcov-root=../ -C -F frontend,javascript,unitTest + bash <(curl -s https://codecov.io/bash) -y .codecov.yml -k server -cF backend,python,unitTest + cd client && ./node_modules/codecov/bin/codecov --yml=../.codecov.yml --root=../ --gcov-root=../ -C -F frontend,javascript,unitTest smoke-tests: runs-on: ubuntu-latest @@ -77,7 +77,7 @@ jobs: - name: Smoke tests (without annotations feature) run: | cd client && make smoke-test - ./node_modules/codecov/bin/codecov --root=../ --gcov-root=../ -C -F frontend,javascript,smokeTest + ./node_modules/codecov/bin/codecov --yml=../.codecov.yml --root=../ --gcov-root=../ -C -F frontend,javascript,smokeTest smoke-tests-annotations: runs-on: ubuntu-latest @@ -106,4 +106,4 @@ jobs: - name: Smoke tests (with annotations feature) run: | cd client && make smoke-test-annotations - ./node_modules/codecov/bin/codecov --root=../ --gcov-root=../ -C -F frontend,javascript,smokeTestAnnotations + ./node_modules/codecov/bin/codecov --yml=../.codecov.yml --root=../ --gcov-root=../ -C -F frontend,javascript,smokeTestAnnotations