From c4278e83c21d7218be98e149bf26dd5e17c031de Mon Sep 17 00:00:00 2001 From: Matt Daily Date: Mon, 3 Jun 2024 12:41:08 -0700 Subject: [PATCH] Export coverage as xml for coveralls to properly process --- .github/workflows/build.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c4b5847..332b528 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -29,7 +29,9 @@ jobs: pip install -e .[tests] pip install coverage "coveralls<3.3" - name: Run tests - run: coverage run -m pytest + run: | + poetry run coverage run -m pytest + poetry run coverage xml env: OPENTSDB_PYTHON_METRICS_TEST_MODE: True - name: Generate and send coveralls report