Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unit-test cases for pypots-cli #72

Merged
merged 35 commits into from
Apr 23, 2023
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
56cf848
doc: update the documentation configs and doc itself;
WenjieDu Apr 19, 2023
3f5dd7d
fix: try to fix Makefile;
WenjieDu Apr 19, 2023
0d9c579
fix: fix `ModuleNotFoundError: No module named 'pypots'` and avoid PE…
WenjieDu Apr 19, 2023
e11a8d1
feat: update the dependencies;
WenjieDu Apr 19, 2023
ad63280
feat: update the dependencies;
WenjieDu Apr 19, 2023
b8ad123
feat: add readthedocs config file;
WenjieDu Apr 19, 2023
99228f0
fix: update readthedocs config file;
WenjieDu Apr 19, 2023
552cb8c
refactor: delete docs/requirements.txt;
WenjieDu Apr 19, 2023
d335a11
doc: remove inherited-members in docs;
WenjieDu Apr 19, 2023
6243359
doc: exclude normrnd in pypots.forecasting.bttf;
WenjieDu Apr 19, 2023
589f99d
fix: update readthedocs config file;
WenjieDu Apr 19, 2023
0b16044
fix: remove html to fix error `Invalid "formats": expected one of (ht…
WenjieDu Apr 19, 2023
97671aa
fix: disable fail_on_warning;
WenjieDu Apr 19, 2023
6d47de5
doc: try to remove `exclude-members`;
WenjieDu Apr 19, 2023
c772bee
Merge branch 'dev' into doc
WenjieDu Apr 19, 2023
43354f0
Merge branch 'dev' into doc
WenjieDu Apr 21, 2023
1c71f4b
doc: update README;
WenjieDu Apr 21, 2023
d3f9e31
doc: update badges in README;
WenjieDu Apr 21, 2023
098325d
Merge branch 'dev' into doc
WenjieDu Apr 22, 2023
057a853
refactor: move `pypots-cli` from pypots/utils/commands to pypots/cli;
WenjieDu Apr 22, 2023
7697237
feat: add test cases for pypots-cli;
WenjieDu Apr 22, 2023
48e4855
feat: add test_cli.py into the execution of workflow CI;
WenjieDu Apr 22, 2023
a51bd93
fix: raise RuntimeError when enable strict mode in check_if_under_roo…
WenjieDu Apr 22, 2023
83cbec9
fix: try to use environment-dev.yml for testing env building;
WenjieDu Apr 23, 2023
3352b89
fix: remove installed pypots but keep dependencies;
WenjieDu Apr 23, 2023
418108b
feat: update environment_for_conda_test.yml;
WenjieDu Apr 23, 2023
5096b53
fix: capture RuntimeError;
WenjieDu Apr 23, 2023
3a49bd6
fix: only run installation command again if necessary;
WenjieDu Apr 23, 2023
05b1e44
fix: implement time out with threading;
WenjieDu Apr 23, 2023
65ecc5a
fix: directly set SPHINX_APIDOC_OPTIONS with os.environ to avoid bugs…
WenjieDu Apr 23, 2023
93da28d
fix: append "+cpu" if torch is not cuda version;
WenjieDu Apr 23, 2023
1c6e7da
fix: `pip install -e` error on Windows platform;
WenjieDu Apr 23, 2023
dd10fde
fix: log and ignore error raised when testing on Windows;
WenjieDu Apr 23, 2023
fbd6ae6
fix: log and ignore error raised when testing on Windows;
WenjieDu Apr 23, 2023
17091ae
fix: remove raising RuntimeError;
WenjieDu Apr 23, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: update readthedocs config file;
  • Loading branch information
WenjieDu committed Apr 19, 2023
commit 99228f06cdfd45789947be042d8b847862ce5dcd
6 changes: 4 additions & 2 deletions readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This is file is used to help customize PyPOTS documentation building process on ReadTheDocs.

version: 2

sphinx:
Expand All @@ -14,8 +16,8 @@ build:
pre_install:
- python -m pip install --upgrade pip
- pip install torch==1.13.1 --extra-index-url https://download.pytorch.org/whl/cpu
- pip install -e ".[optional]" -f "https://data.pyg.org/whl/torch-${{ matrix.torch-version }}+cpu.html"
- pip install -e ".[basic, doc]"
- pip install -e ".[optional]" -f "https://data.pyg.org/whl/torch-1.13.1+cpu.html"
- pip install -e ".[basic,doc]"



Expand Down