-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update testing job to always generate coverage map * restrict scan path of coverage * add missing test dependencies during testing * replace deprecated distutils methods
- Loading branch information
Showing
4 changed files
with
16 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,18 +28,20 @@ jobs: | |
python -m pip install --upgrade pip | ||
pip install --no-binary lxml lxml | ||
pip install coverage | ||
pip install . | ||
pip install .["testing"] | ||
- name: Run unittests with coverage report | ||
continue-on-error: true | ||
# continue-on-error: true | ||
run: | | ||
coverage run -m unittest discover -p "*_test.py" | ||
coverage run --include="./wpull/**/*.py" -m unittest discover -p "*_test.py" | ||
- name: Generate coverage report | ||
if: always() | ||
run: | | ||
coverage xml --data-file=.coverage | ||
# You can test your matrix by printing the current Python version | ||
# - name: Display Python version | ||
# run: python -c "import sys; print(sys.version)" | ||
- name: Get Cover | ||
if: always() | ||
uses: orgoro/[email protected] | ||
with: | ||
coverageFile: coverage.xml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters