diff --git a/.github/workflows/codecov_workflow.yml b/.github/workflows/codecov_workflow.yml new file mode 100644 index 0000000..7295f04 --- /dev/null +++ b/.github/workflows/codecov_workflow.yml @@ -0,0 +1,12 @@ +name: Codecov +permissions: read-all + +on: + [push, pull_request] + +jobs: + build: + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..b2a0e98 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,10 @@ +coverage: + status: + project: + default: + target: 50% + threshold: 1% + +comment: + require_changes: true + require_ci_to_pass: false