diff options
-rw-r--r-- | .github/workflows/lint-test.yaml | 12 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | pyproject.toml | 1 |
3 files changed, 8 insertions, 6 deletions
diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index 168a8383..f82e1d4f 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -49,6 +49,7 @@ jobs: python manage.py makemigrations --check coverage run manage.py test --no-input coverage report -m + coverage lcov env: CI: True DATABASE_URL: postgres://pysite:pysite@localhost:7777/pysite @@ -56,11 +57,12 @@ jobs: PYTHONWARNINGS: error # This step will publish the coverage reports coveralls.io and - # print a "job" link in the output of the GitHub Action - - name: Publish coverage report to coveralls.io - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: coveralls + # link the report to the commit + - name: Publish Coverage Report + uses: coverallsapp/[email protected] + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + path-to-lcov: ./coverage.lcov - name: Tear down docker-compose containers run: docker-compose stop @@ -36,6 +36,7 @@ pip-log.txt pip-delete-this-directory.txt # Unit test / coverage reports +*.lcov htmlcov/ .tox/ .coverage diff --git a/pyproject.toml b/pyproject.toml index 1f78ef2d..382b31d9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,6 @@ flake8-todo = "0.7" pep8-naming = "0.13.1" pre-commit = "2.20.0" pyfakefs = "4.6.3" -coveralls = "3.3.1" taskipy = "1.10.2" python-dotenv = "0.20.0" |