From 44ed959b80a771f501c5fbfa09771f87f9519c0e Mon Sep 17 00:00:00 2001 From: Christian Wendt Date: Thu, 19 Mar 2020 18:25:51 -0700 Subject: [PATCH] generate coverage.xml --- .github/workflows/espn-api.yml | 4 +--- .gitignore | 3 ++- setup.cfg | 3 ++- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/espn-api.yml b/.github/workflows/espn-api.yml index 19203fd8..db9d49c4 100644 --- a/.github/workflows/espn-api.yml +++ b/.github/workflows/espn-api.yml @@ -11,9 +11,7 @@ jobs: with: python-version: '3.x' - name: Install dependencies - run: | - python setup.py install - pip install coverage + run: python setup.py install - name: Test with nosetests run: python3 setup.py nosetests - name: Upload coverage to Codecov diff --git a/.gitignore b/.gitignore index 4d1f8014..4b469456 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,5 @@ venv/ .coverage build dist -env \ No newline at end of file +env +coverage* \ No newline at end of file diff --git a/setup.cfg b/setup.cfg index 53a7a7b6..19e112fb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,4 +2,5 @@ exe=1 nocapture=1 with-coverage=1 -cover-package=espn_api \ No newline at end of file +cover-package=espn_api +cover-xml=1 \ No newline at end of file