From c82a28dfcb3d1bf0dbe0da47b85f7043045eff96 Mon Sep 17 00:00:00 2001 From: Agustinus Kristiadi Date: Fri, 23 Aug 2024 16:40:21 -0400 Subject: [PATCH] Add codecov config --- .github/workflows/pytest.yml | 2 +- codecov.yml | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 codecov.yml diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index aebdd12..321e3a2 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -14,7 +14,7 @@ jobs: - name: Install the project run: uv sync --all-extras --dev - name: Run tests - run: uv run pytest tests --cov --cov-report=html + run: uv run pytest tests --cov - name: Upload results to Codecov uses: codecov/codecov-action@v4 with: diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..8658329 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,7 @@ +comment: + layout: " diff, flags, files" + behavior: default + require_changes: false # + require_base: false + require_head: true + hide_project_coverage: false