diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 00000000..b559f5b6 --- /dev/null +++ b/.codecov.yml @@ -0,0 +1,10 @@ +--- +coverage: + status: + project: + default: + target: 98% +ignore: + - '**/tests/*.py' + - '**/test/*.js' + - '**/test/*.ts' \ No newline at end of file diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml new file mode 100644 index 00000000..1c18dad9 --- /dev/null +++ b/.github/workflows/codecov.yml @@ -0,0 +1,12 @@ +name: Code Coverage +on: [push, pull_request] + +jobs: + codecov: + runs-on: ubuntu-latest + steps: + - name: Upload Coverage Report + if: success() + uses: codecov/codecov-action@v2 + with: + files: ./codecov.xml