diff --git a/.coveragerc b/.coveragerc index 1b5ad94..42bfff6 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,5 +1,6 @@ [run] source = graphics_service +relative_files = True omit = graphics_service/tests* diff --git a/.github/workflows/python_actions.yml b/.github/workflows/python_actions.yml index cca225a..c65533f 100644 --- a/.github/workflows/python_actions.yml +++ b/.github/workflows/python_actions.yml @@ -25,4 +25,27 @@ jobs: run: | py.test - - run: coveralls + - name: Coveralls + uses: AndreMiras/coveralls-python-action@develop + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + #parallel: true + #flag-name: Unit Test + +# coveralls_finish: +# needs: build +# runs-on: ubuntu-latest +# steps: +# - name: Coveralls Finished +# uses: AndreMiras/coveralls-python-action@develop + #with: + # parallel-finished: true + + #- run: coveralls --output=lcov.info + + #- name: Coveralls + # uses: coverallsapp/github-action@master + # with: + # github-token: ${{ secrets.GITHUB_TOKEN }} + # path-to-lcov: "./lcov.info" + diff --git a/dev-requirements.txt b/dev-requirements.txt index fedfa9d..40e9586 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,5 +1,5 @@ -coveralls==1.8.2 -coverage==4.5.4 +coveralls==2.2.0 +coverage==5.2.1 Flask-Testing==0.8.0 httpretty==0.8.10; python_version < '3.0' httpretty==1.0.5; python_version > '3.0'