summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2021-07-10 23:09:16 -0400
committerGitHub <noreply@github.com>2021-07-10 23:09:16 -0400
commit3f20c10f04c7777a3dafa3033be05cc07d9e0bb0 (patch)
tree8dad3332ed51d4dad4c214402c5c81bad63ea681 /.github/workflows
parent4b64119ab29b1418dc4975ea4212ab38f112c2ab (diff)
parenta77319fffbbb27d11780b59cbdf8ea950ef33ec7 (diff)
downloadpython-setuptools-git-3f20c10f04c7777a3dafa3033be05cc07d9e0bb0.tar.gz
Merge pull request #2693 from tanvimoharir/add-codecov
Adding codecov configuration
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/main.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index cd1969cf..f277d416 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -23,7 +23,14 @@ jobs:
run: |
python -m pip install tox
- name: Run tests
- run: tox
+ run: tox -- --cov-report xml
+ - name: Upload coverage to Codecov
+ uses: codecov/codecov-action@v1
+ with:
+ flags: >- # Mark which lines are covered by which envs
+ ${{ runner.os }},
+ ${{ matrix.python }}
+ functionalities: gcov # disable C coverage autodiscovery
release:
needs: test