Skip to content
Snippets Groups Projects
Commit daa68b2c authored by Adam Williamson's avatar Adam Williamson Committed by Adam Williamson
Browse files

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


and allow coveralls to post comments on PRs.

Signed-off-by: default avatarAdam Williamson <awilliam@redhat.com>
parent a32f28fd
No related branches found
No related tags found
No related merge requests found
--- ---
name: Test Python package with Tox name: Test Python package with Tox
on: [pull_request] on: ["push", "pull_request"]
jobs: jobs:
build: build:
...@@ -34,6 +34,12 @@ jobs: ...@@ -34,6 +34,12 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install tox tox-gh-actions pip install tox tox-gh-actions coverage
- name: Test with tox - name: Test with tox
run: 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment