Skip to content

Commit 35768c5

Browse files
authored
Merge pull request #155 from ezhov-evgeny/feature/github-actions
#134: show coverage
2 parents 6e07c19 + ad71245 commit 35768c5

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,3 +128,12 @@ jobs:
128128
format: markdown
129129
output: both
130130
badge: true
131+
132+
- name: Upload coverage to Codecov
133+
if: matrix.python-version == '3.12'
134+
uses: codecov/codecov-action@v5
135+
with:
136+
files: coverage.xml
137+
fail_ci_if_error: false
138+
env:
139+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Python WebDAV Client 3
22
=========
33
[![CI](https://github.com/ezhov-evgeny/webdav-client-python-3/actions/workflows/ci.yml/badge.svg)](https://github.com/ezhov-evgeny/webdav-client-python-3/actions/workflows/ci.yml)
4-
[![Coverage](https://img.shields.io/badge/Coverage-report-informational?logo=githubactions)](https://github.com/ezhov-evgeny/webdav-client-python-3/actions/workflows/ci.yml)
4+
[![codecov](https://codecov.io/gh/ezhov-evgeny/webdav-client-python-3/graph/badge.svg)](https://codecov.io/gh/ezhov-evgeny/webdav-client-python-3)
55
[![PyPI](https://img.shields.io/pypi/v/webdavclient3)](https://pypi.org/project/webdavclient3/) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/webdavclient3)
66

77
Package webdavclient3 based on https://github.com/designerror/webdav-client-python but uses `requests` instead of `PyCURL`.

0 commit comments

Comments
 (0)