Merge pull request #149 from christianlouis/copilot/install-codecov-integration
Upgrade Codecov integration to v5 and add repository status badges
This commit is contained in:
@@ -40,14 +40,21 @@ jobs:
|
|||||||
pip install -r requirements-dev.txt
|
pip install -r requirements-dev.txt
|
||||||
|
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: pytest tests/ -v --cov=app --cov-report=xml --cov-report=term
|
run: pytest tests/ -v --cov=app --cov-report=xml --cov-report=term --junitxml=junit.xml -o junit_family=legacy
|
||||||
|
|
||||||
- name: Upload Coverage to Codecov
|
- name: Upload coverage reports to Codecov
|
||||||
uses: codecov/codecov-action@v3
|
uses: codecov/codecov-action@v5
|
||||||
with:
|
with:
|
||||||
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
file: ./coverage.xml
|
file: ./coverage.xml
|
||||||
fail_ci_if_error: false
|
fail_ci_if_error: false
|
||||||
|
|
||||||
|
- name: Upload test results to Codecov
|
||||||
|
if: ${{ !cancelled() }}
|
||||||
|
uses: codecov/test-results-action@v1
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
|
||||||
- name: Run Linter (Flake8)
|
- name: Run Linter (Flake8)
|
||||||
run: flake8 app/ --max-line-length=120 --extend-ignore=E203,W503
|
run: flake8 app/ --max-line-length=120 --extend-ignore=E203,W503
|
||||||
continue-on-error: false
|
continue-on-error: false
|
||||||
|
|||||||
@@ -5,6 +5,25 @@
|
|||||||
|
|
||||||
# DocuElevate
|
# DocuElevate
|
||||||
|
|
||||||
|
<div align="center">
|
||||||
|
|
||||||
|
[](https://codecov.io/github/christianlouis/DocuElevate)
|
||||||
|
[](https://github.com/christianlouis/DocuElevate/actions/workflows/tests.yaml)
|
||||||
|
[](https://github.com/christianlouis/DocuElevate/actions/workflows/docker-ci.yml)
|
||||||
|
[](https://github.com/christianlouis/DocuElevate/actions/workflows/codeql.yml)
|
||||||
|
|
||||||
|
[](https://github.com/christianlouis/DocuElevate/releases)
|
||||||
|
[](LICENSE)
|
||||||
|
[](https://www.python.org/downloads/)
|
||||||
|
[](https://hub.docker.com/)
|
||||||
|
|
||||||
|
[](https://github.com/christianlouis/DocuElevate/stargazers)
|
||||||
|
[](https://github.com/christianlouis/DocuElevate/network/members)
|
||||||
|
[](https://github.com/christianlouis/DocuElevate/issues)
|
||||||
|
[](https://github.com/christianlouis/DocuElevate/pulls)
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
<div align="center">
|
<div align="center">
|
||||||
<a href="https://www.docuelevate.org"><img src="frontend/static/hero.png" alt="DocuElevate Logo" width="80%" /></a>
|
<a href="https://www.docuelevate.org"><img src="frontend/static/hero.png" alt="DocuElevate Logo" width="80%" /></a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user