From 07f93e5d14cfa987cae4058fbb7516a9b60cd2f3 Mon Sep 17 00:00:00 2001 From: Rijnder Wever Date: Thu, 12 Dec 2024 19:13:47 +0100 Subject: [PATCH] ci: attempt to fix codecov report --- .github/workflows/codecov.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 86d5a75..6bd5a07 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -4,6 +4,7 @@ on: push: branches: - main + - codecov jobs: test: @@ -13,7 +14,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - fetch-depth: 0 + fetch-depth: 2 - name: Set up Python uses: actions/setup-python@v5 @@ -30,7 +31,7 @@ jobs: pip install pytest pytest-cov . - name: Run tests - run: pytest --cov --cov-report=xml + run: pytest --cov=./ --cov-report=xml - name: Upload results to Codecov uses: codecov/codecov-action@v5