forked from neuralhydrology/neuralhydrology
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
0.9.1-beta release (neuralhydrology#4)
* Create readthedocs.yml File is required so that readthedocs can compile the documentation * Fixed external links * fix optional input argument * add github workflows (neuralhydrology#2) * add github workflows * Update .github/workflows/pytest-ci.yml Co-authored-by: Martin Gauch <[email protected]> Co-authored-by: Martin Gauch <[email protected]> * automatic datetime coord inference (neuralhydrology#1) * automatic datetime coord inference * Update neuralhydrology/data/utils.py Co-authored-by: Martin Gauch <[email protected]> Co-authored-by: Martin Gauch <[email protected]> * Added introduction notebook to docs, some docs updates (neuralhydrology#3) * Added introduction notebook * added nbsphinx resources * Apply suggestions from code review Co-authored-by: Martin Gauch <[email protected]> * Update package name, integrated code review comments * Update docs/source/usage/models.rst Co-authored-by: Martin Gauch <[email protected]> Co-authored-by: Martin Gauch <[email protected]> * increment version number Co-authored-by: Martin Gauch <[email protected]>
- Loading branch information
Showing
22 changed files
with
1,309 additions
and
112 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,46 @@ | ||
# Workflow to run the pytest test suite. | ||
|
||
name: pytest CI | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# Checkout the repository under $GITHUB_WORKSPACE | ||
- uses: actions/checkout@v2 | ||
|
||
# initialize conda | ||
- name: Conda setup | ||
uses: s-weigand/setup-conda@v1 | ||
with: | ||
update-conda: true | ||
python-version: 3.7 | ||
|
||
# cache the conda installation to speedup the CI runs | ||
- uses: actions/cache@v2 | ||
id: cache | ||
with: | ||
path: /usr/share/miniconda/envs/neuralhydrology | ||
key: ${{ runner.os }}-conda-cache-${{ hashFiles('environments/environment_cuda10_2.yml') }} | ||
|
||
# on cache miss, create the env from scratch | ||
- name: Conda environment creation | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: | | ||
conda env create -f environments/environment_cuda10_2.yml | ||
source activate neuralhydrology | ||
# Run the tests | ||
- name: Testing with pytest | ||
run: | | ||
source activate neuralhydrology | ||
pytest --cov=neuralhydrology |
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
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Tutorials | ||
--------- | ||
|
||
We will gradually add more tutorials over the next couple of weeks, highlighting some of | ||
the functionality of this Python package. | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
:caption: Contents: | ||
|
||
introduction |
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,3 @@ | ||
{ | ||
"path": "../../../examples/01-Introduction/Introduction.ipynb" | ||
} |
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 |
---|---|---|
|
@@ -27,4 +27,5 @@ dependencies: | |
- pip: | ||
- tensorboard | ||
- sphinx-rtd-theme | ||
|
||
- nbsphinx | ||
- nbsphinx-link |
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 |
---|---|---|
|
@@ -27,4 +27,5 @@ dependencies: | |
- pip: | ||
- tensorboard | ||
- sphinx-rtd-theme | ||
|
||
- nbsphinx | ||
- nbsphinx-link |
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 |
---|---|---|
|
@@ -27,4 +27,5 @@ dependencies: | |
- pip: | ||
- tensorboard | ||
- sphinx-rtd-theme | ||
|
||
- nbsphinx | ||
- nbsphinx-link |
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 @@ | ||
01022500 |
Oops, something went wrong.