diff --git a/.coveragerc b/.coveragerc deleted file mode 100644 index a01cb6b..0000000 --- a/.coveragerc +++ /dev/null @@ -1,8 +0,0 @@ -[report] -omit = - */python?.?/* - */site-packages/nose/* - */tests/* - */pyasn1/* - */ndg/* - */doc/* diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f8b4f42..322fa72 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,4 +26,22 @@ jobs: run: python setup.py install - name: Test - run: pytest --cov=pyfritzhome + run: pytest --cov=pyfritzhome --cov-report=lcov + + - name: Coveralls Parallel + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.github_token }} + flag-name: run-${{ matrix.test_number }} + parallel: true + path-to-lcov: coverage.lcov + + finish: + needs: tests + runs-on: ubuntu-22.04 + steps: + - name: Coveralls Finished + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.github_token }} + parallel-finished: true diff --git a/setup.cfg b/setup.cfg index 3c3634e..75fffb5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -49,6 +49,15 @@ norecursedirs = .git addopts = --strict-markers +[coverage:run] +omit = + pyfritzhome/cli.py + */python?.?/* + */site-packages/nose/* + */tests/* + */pyasn1/* + */ndg/* + */doc/* [pep257] ignore = D100,D101,D102,D103,D104,D105,D203,D204