diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7d713556..30efbeda 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -61,3 +61,9 @@ jobs: - name: Run tests with coverage run: | make cov + + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v4.0.1 + with: + token: ${{ secrets.CODECOV_TOKEN }} + slug: openatx/uiautomator2 diff --git a/README.md b/README.md index 36a41784..844bd004 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ -# uiautomator2 [![PyPI](https://img.shields.io/pypi/v/uiautomator2.svg)](https://pypi.python.org/pypi/uiautomator2) ![PyPI](https://img.shields.io/pypi/pyversions/uiautomator2.svg) +# uiautomator2 +[![PyPI](https://img.shields.io/pypi/v/uiautomator2.svg)](https://pypi.python.org/pypi/uiautomator2) +![PyPI](https://img.shields.io/pypi/pyversions/uiautomator2.svg) +[![codecov](https://codecov.io/gh/openatx/uiautomator2/graph/badge.svg?token=d0ZLkqorBu)](https://codecov.io/gh/openatx/uiautomator2) QQ交流群: **815453846**