Add codecov configuration (#1180)

* Add codecov configuration

* Modify workflow
This commit is contained in:
Matt Weiden
2020-02-26 14:57:46 -08:00
committed by GitHub
parent 0043308b52
commit 8b0adcdfcc
2 changed files with 12 additions and 4 deletions
+8
View File
@@ -0,0 +1,8 @@
coverage:
status:
project:
default:
informational: true
patch:
default:
informational: true
+4 -4
View File
@@ -47,8 +47,8 @@ jobs:
- name: Unit tests - name: Unit tests
run: | run: |
make unit-test make unit-test
bash <(curl -s https://codecov.io/bash) -k server -cF backend,python,unitTest bash <(curl -s https://codecov.io/bash) -y .codecov.yml -k server -cF backend,python,unitTest
cd client && ./node_modules/codecov/bin/codecov --root=../ --gcov-root=../ -C -F frontend,javascript,unitTest cd client && ./node_modules/codecov/bin/codecov --yml=../.codecov.yml --root=../ --gcov-root=../ -C -F frontend,javascript,unitTest
smoke-tests: smoke-tests:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -77,7 +77,7 @@ jobs:
- name: Smoke tests (without annotations feature) - name: Smoke tests (without annotations feature)
run: | run: |
cd client && make smoke-test 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: smoke-tests-annotations:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -106,4 +106,4 @@ jobs:
- name: Smoke tests (with annotations feature) - name: Smoke tests (with annotations feature)
run: | run: |
cd client && make smoke-test-annotations 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