Skip to content

Commit

Permalink
Enable Codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
FestplattenSchnitzel committed Nov 20, 2024
1 parent cf11d98 commit c8a1410
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
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

0 comments on commit c8a1410

Please sign in to comment.