Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Codecov #503

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/sipa-ci .yml → .github/workflows/sipa-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
run: docker push registry.agdsn.de/agdsn/coreos/sipa/sipa:${GITHUB_REF##*/}
test:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Check out sipa and submodules
uses: actions/checkout@v3
Expand All @@ -58,8 +60,17 @@ jobs:
run: >
pytest
--junitxml=junit/test-results.xml
--cov --cov-report=xml:cov/cov-results.xml
- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
if: always() # always run even if the previous step fails
with:
report_paths: 'junit/test-*.xml'
annotate_only: true
- name: Upload results to Codecov
uses: codecov/codecov-action@v5
with:
disable_search: true
files: ./cov/cov-results.xml
use_oidc: true
verbose: true
1 change: 1 addition & 0 deletions build/requirements/requirements_testing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ pycodestyle~=2.4.0
mypy~=0.960
sphinx~=1.8.4
pytest~=7.4.3
pytest-cov~=2.10.1
time_machine~=2.13.0
Loading