From c944218e7bcb717ef0505bd5a5a194b3cce3406d Mon Sep 17 00:00:00 2001 From: felinae98 <731499577@qq.com> Date: Sun, 9 Oct 2022 19:32:06 +0800 Subject: [PATCH] update codecov config --- .github/workflows/main.yml | 1 + codecov.yml | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 codecov.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7d6d4a1..65a1b61 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -79,6 +79,7 @@ jobs: - name: Upload coverage report uses: codecov/codecov-action@v3 with: + flags: smoke-test env_vars: OS,PYTHON_VERSION docker-main: diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..610057c --- /dev/null +++ b/codecov.yml @@ -0,0 +1,14 @@ +coverage: + status: + project: off + patch: off + +flag_management: + default_rules: + carryforward: true + statuses: + - type: project + target: auto + threshold: 5% + - type: patch + target: 60%