Browse Source

ci: report coverage to coveralls.io

Fabian Peter Hammerle 4 years ago
parent
commit
d1d62887b0
1 changed files with 4 additions and 0 deletions
  1. 4 0
      .github/workflows/python.yml

+ 4 - 0
.github/workflows/python.yml

@@ -39,3 +39,7 @@ jobs:
     - run: pipenv run pylint --disable=missing-requirement --disable=parse-error tests/*
     - run: pipenv run pylint --disable=missing-requirement --disable=parse-error tests/*
     - run: pipenv run pytest --cov=ical2vdir --cov-report=term-missing --cov-fail-under=100
     - run: pipenv run pytest --cov=ical2vdir --cov-report=term-missing --cov-fail-under=100
     - run: pipenv run black --check .
     - run: pipenv run black --check .
+    - uses: coverallsapp/github-action@v1.0.1
+      with:
+        path-to-lcov: ./.coverage
+        github-token: ${{ secrets.GITHUB_TOKEN }}