From 26598aacadc97133cc390657960ff9b8b4f7f574 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Sat, 27 Jan 2024 12:02:03 -0800 Subject: [PATCH] Use Coveralls Github Action to send data to coveralls again This was lost when Travis stopped working, so our coveralls data is frozen in 2021. This should get it working again using https://github.com/marketplace/actions/coveralls-github-action if I got it right. Signed-off-by: Adam Williamson --- .github/workflows/tox.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 8c6c214..3e44798 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -34,6 +34,12 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install tox tox-gh-actions + pip install tox tox-gh-actions coverage - name: Test with tox run: tox + - name: Produce coverage.lcov for coveralls + if: matrix.python-version == "3.11" + run: coverage lcov + - name: Coveralls + if: matrix.python-version == "3.11" + uses: coverallsapp/github-action@v2