-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pooch integration, mark online tests, better handle online-dependent …
…documentation, distributed testing (#212) ### What kind of change does this PR introduce? * Marks several tests reliant on external services (`online`). * Better typing in call signatures. * Removes several unused imports. * Added `pytest-xdist` to the development dependencies. * Adding in a `pooch` registry for verifying file integrity when fetching testing data. ### Does this PR introduce a breaking change? Yes. `pytest-xdist` is now a development dependency. By default, it is not being used, but it can be enabled by providing positional arguments to the `pytest` call. ### Other information: I've copied and slightly improved upon the new testing data system currently in #175. I'll handle the merge of the changes to there, but this current system is nearing finalization. The last thing that I'm waiting on are some changes from @RondeauG to `xhydro-testdata` so that I can make a dated tag that will become the default testing data branch for `xhydro` (updated whenever there are additions to `xhydro-testdata`). This will help prevent breakages from a moving `main` branch over there.
- Loading branch information
Showing
26 changed files
with
1,068 additions
and
1,609 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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.