Repository: ipwnponies/pytest-antilru (language: python)

Issue:
Update coverage badge
Coveralls is the [service](https://coveralls.io/github/ipwnponies/pytest-antilru?branch=master) used for coverage. It's what the badge is displaying. We switched from traviscI to github actions #25 but did not update the coverag data upload.


Discussion / hints:
See this blog entry that does exactly that: https://nedbatchelder.com/blog/202209/making_a_coverage_badge.html
This generates the coverage badge dynamically using `schneegans/dynamic-badges-action` and uploads it to an mutable gist.

Fix patch:
diff --git a/.coveragerc b/.coveragerc
index 7b82f13..3f11024 100644
--- a/.coveragerc
+++ b/.coveragerc
@@ -8,6 +8,7 @@ omit =
     setup.py
     # Don't complain if non-runnable code isn't run
     */__main__.py
+relative_files = True
 
 [report]
 skip_covered = True


Test patch:
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index a56144e..762b0ff 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -1,7 +1,8 @@
+---
 # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
 # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
 
-name: Python package
+name: Tests
 
 on:
   push:
@@ -9,7 +10,7 @@ on:
     - cron: '0 2 * * SAT'
 
 jobs:
-  build:
+  test:
 
     runs-on: ${{matrix.os}}
     strategy:
@@ -40,3 +41,17 @@ jobs:
         python -m pip install tox tox-gh-actions
     - name: Test with tox
       run: tox
+    - name: Coveralls
+      uses: AndreMiras/coveralls-python-action@8799c9f4443ac4201d2e2f2c725d577174683b99
+      with:
+        parallel: true
+        flag-name: Unit Test
+
+  coveralls_finish:
+    needs: test
+    runs-on: ubuntu-latest
+    steps:
+    - name: Coveralls Finished
+      uses: AndreMiras/coveralls-python-action@develop
+      with:
+        parallel-finished: true