-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] Migrate to GitHub Actions for testing (#64)
* adding ci/ env .yml files * adding unittests.yml * adding .coveragerc * updating ci/ env .yml files * updating ci/ env .yml files [2] * updating/alphabetizing requirements*.txt * blackening and updating setup.py * removing .travis.yml * updating README.md * removing opencv-contrib-python from envs and reqs * adding opencv-contrib-python back to envs and reqs * reorganzing requirements* files * updating ci/ env .yml files [3] * test only 3.7 and 3.8 per 665147059 * adding pygeos to 3.7 ci (mistakening left off) * test 3.6, 3.7, 3.8 w/o Ubuntu * test 3.6, 3.7, 3.8 only windows * adding back all testing schemata * update conda setup * unittest typo [1] * update CI workflow * correct syntax * correct syntax [2] * remove doctests * defer to newer structure * add config for coverge in CI
- Loading branch information
Showing
5 changed files
with
42 additions
and
22 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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# .coveragerc to control coverage.py | ||
[run] | ||
branch = True | ||
source = pointpats | ||
|
||
[report] | ||
# Regexes for lines to exclude from consideration | ||
exclude_lines = | ||
# Have to re-enable the standard pragma | ||
pragma: no cover | ||
|
||
# Don't complain about missing debug-only code: | ||
def __repr__ | ||
if self\.debug | ||
|
||
# Don't complain if tests don't hit defensive assertion code: | ||
raise AssertionError | ||
raise NotImplementedError | ||
|
||
# Don't complain if non-runnable code isn't run: | ||
if 0: | ||
if __name__ == .__main__.: | ||
|
||
ignore_errors = True | ||
omit = | ||
*/tests/* | ||
*__init__.py | ||
|
||
[html] | ||
directory = coverage_html_report |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ scipy>=0.11 | |
numpy>=1.3 | ||
pandas | ||
matplotlib | ||
libpysal>=4.0.0 | ||
libpysal>=4.0.0 |
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 |
---|---|---|
@@ -1,6 +1,3 @@ | ||
sphinx | ||
sphinxcontrib-bibtex==2.2.0 | ||
sphinx_bootstrap_theme | ||
numpydoc | ||
nbsphinx | ||
matplotlib |