From c22f4f4d02c16f2b9b68c9e17cd6894ab65662f0 Mon Sep 17 00:00:00 2001 From: Cian Hughes Date: Fri, 23 May 2025 15:56:48 +0100 Subject: [PATCH] Patch: Added coverage upload to coveralls to tests workflow --- .github/workflows/tests.yml | 8 ++++++++ invenio_config_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..a3b1515 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=xml" run: | uv run test + + - name: Upload coverage to Coveralls + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + path-to-lcov: coverage.xml diff --git a/invenio_config_iform/__about__.py b/invenio_config_iform/__about__.py index dd0b934..87f25ef 100644 --- a/invenio_config_iform/__about__.py +++ b/invenio_config_iform/__about__.py @@ -8,4 +8,4 @@ """Metadata for this python module.""" -__version__ = "2025.5.20.11" +__version__ = "2025.5.20.12"