diff --git a/.codecov.yml b/.codecov.yml deleted file mode 100644 index 2ab4847..0000000 --- a/.codecov.yml +++ /dev/null @@ -1,9 +0,0 @@ -comment: false -coverage: - status: - patch: - default: - target: '86' - project: - default: - target: '86' diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index 409cd5a..b8e9bfb 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -26,13 +26,11 @@ jobs: run: | coverage run -m pytest -m "not regtest" -rw coverage xml - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v2 + - name: Coverage comment + uses: orgoro/coverage@v3.2 with: - file: ./coverage.xml - name: codecov-umbrella - fail_ci_if_error: true - token: ${{ secrets.CODECOV_TOKEN }} + coverageFile: ./coverage.xml + token: ${{ secrets.GITHUB_TOKEN }} - name: Publish to PyPI uses: casperdcl/deploy-pypi@v2 if: ${{ matrix.python == 3.9 }} diff --git a/.gitignore b/.gitignore index 46b2303..ac6511e 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ __pycache__ /.cache /.idea /bitcash.egg-info +/BitCash.egg-info /build /dist /docs/build @@ -21,4 +22,5 @@ venv/ /.tox htmlcov/ /.coverage +/coverage.xml /.pytest_cache diff --git a/README.md b/README.md index a318f1f..1a151ce 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,6 @@ Test status Deploy docs - Code Coverage Python Versions MIT license CodeFactor diff --git a/docs/community/development.rst b/docs/community/development.rst index e244766..24d5f67 100644 --- a/docs/community/development.rst +++ b/docs/community/development.rst @@ -12,8 +12,7 @@ Philosophy Continuous Integration ---------------------- -`GitHub actions`_ is used for testing and `Codecov`_ is used for detailing code -coverage. +`GitHub actions`_ is used for testing and code coverage reporting. Documentation ------------- @@ -27,6 +26,5 @@ Version Scheme BitCash tries to adhere to `semantic versioning`_ as much as possible. .. _GitHub actions: https://github.com/features/actions -.. _Codecov: https://codecov.io .. _GitHub Pages: https://pages.github.com .. _semantic versioning: https://semver.org