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
|
||||
|
||||
- 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
|
||||
uses: codecov/codecov-action@v3
|
||||
- name: Upload coverage reports to Codecov
|
||||
uses: codecov/codecov-action@v5
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
file: ./coverage.xml
|
||||
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)
|
||||
run: flake8 app/ --max-line-length=120 --extend-ignore=E203,W503
|
||||
continue-on-error: false
|
||||
|
||||
@@ -5,6 +5,25 @@
|
||||
|
||||
# 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">
|
||||
<a href="https://www.docuelevate.org"><img src="frontend/static/hero.png" alt="DocuElevate Logo" width="80%" /></a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user