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