diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7dfca34..6487ff0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,9 +51,15 @@ jobs: REDIS_URL: redis://localhost:6379/0 steps: - uses: actions/checkout@v4 + with: + fetch-depth: 2 - uses: astral-sh/setup-uv@v4 - run: uv sync --group dev - - run: uv run pytest tests/ -v --cov=ontokit + - run: uv run pytest tests/ -v --cov=ontokit --cov-branch --cov-report=xml + - uses: codecov/codecov-action@v5 + with: + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true build: runs-on: ubuntu-latest