From 1a91b1c33c805245c15e95597d40c6172e4bb3bd Mon Sep 17 00:00:00 2001 From: Cian Hughes Date: Fri, 23 May 2025 16:13:22 +0100 Subject: [PATCH] Added automatic coveralls coverage reporting --- .github/workflows/tests.yml | 8 ++++++++ invenio_theme_iform/__about__.py | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4d88a42..2308b5a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -82,5 +82,13 @@ jobs: uv sync --group tests - name: Run tests + env: + PYTEST_ADDOPTS: "--cov-report=lcov" run: | uv run test + + - name: Upload coverage to Coveralls + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + path-to-lcov: coverage.lcov diff --git a/invenio_theme_iform/__about__.py b/invenio_theme_iform/__about__.py index 7868d16..d2de250 100644 --- a/invenio_theme_iform/__about__.py +++ b/invenio_theme_iform/__about__.py @@ -8,4 +8,4 @@ """Metadata for this python module.""" -__version__ = "2025.5.20.3" +__version__ = "2025.5.20.4"