Skip to content

Commit

Permalink
fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdboom committed Aug 9, 2022
1 parent b518d22 commit ec478a1
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 25 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ jobs:
pip list
- name: Remove tests
run: |
rm pycaret/tests/test_classification_tuning.py
rm pycaret/tests/test_classification_plots.py
rm pycaret/tests/test_regression_plots.py
rm pycaret/tests/test_regression_tuning.py
rm pycaret/tests/test_time_series_tune_grid.py
rm pycaret/tests/test_time_series_tune_random.py
rm pycaret/tests/test_time_series_plots.py
rm pycaret/tests/test_time_series_utils_plots.py
rm tests/test_classification_tuning.py
rm tests/test_classification_plots.py
rm tests/test_regression_plots.py
rm tests/test_regression_tuning.py
rm tests/test_time_series_tune_grid.py
rm tests/test_time_series_tune_random.py
rm tests/test_time_series_plots.py
rm tests/test_time_series_utils_plots.py
- name: Test with pytest
run: pytest

Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
pip list
- name: Remove tests
run: |
remove-item pycaret/tests/* -Include @('test_classification_tuning.py','test_classification_plots.py','test_regression_plots.py', 'test_regression_tuning.py', 'test_time_series_tune_grid.py', 'test_time_series_tune_random.py', 'test_create_api.py', 'test_create_docker.py', 'test_drift_report.py', 'test_eda.py', 'test_time_series_plots.py', 'test_time_series_utils_plots.py')
remove-item tests/* -Include @('test_classification_tuning.py','test_classification_plots.py','test_regression_plots.py', 'test_regression_tuning.py', 'test_time_series_tune_grid.py', 'test_time_series_tune_random.py', 'test_create_api.py', 'test_create_docker.py', 'test_drift_report.py', 'test_eda.py', 'test_time_series_plots.py', 'test_time_series_utils_plots.py')
- name: Test with pytest
run: pytest

Expand All @@ -123,7 +123,7 @@ jobs:
# python -m spacy download en
# - name: Remove tests
# run: |
# find pycaret/tests -type f -not -name '__init__.py' -not -name 'test_classification_tuning.py' -not -name 'test_regression_tuning.py' -delete
# find tests -type f -not -name '__init__.py' -not -name 'test_classification_tuning.py' -not -name 'test_regression_tuning.py' -delete
# - name: Test with pytest
# run: pytest

Expand All @@ -146,7 +146,7 @@ jobs:
# python -m spacy download en
# - name: Remove tests
# run: |
# remove-item pycaret/tests/* -Exclude @('__init__.py','test_classification_tuning.py')
# remove-item tests/* -Exclude @('__init__.py','test_classification_tuning.py')
# - name: Test with pytest
# run: pytest

Expand All @@ -169,7 +169,7 @@ jobs:
# python -m spacy download en
# - name: Remove tests
# run: |
# remove-item pycaret/tests/* -Exclude @('__init__.py','test_regression_tuning.py')
# remove-item tests/* -Exclude @('__init__.py','test_regression_tuning.py')
# - name: Test with pytest
# run: pytest

Expand Down Expand Up @@ -197,7 +197,7 @@ jobs:
pip list
- name: Remove tests
run: |
find pycaret/tests -type f -not -name '__init__.py' -not -name 'test_classification_plots.py' -not -name 'test_regression_plots.py' -not -name 'conftest.py' -not -name 'time_series_test_utils.py' -not -name 'test_time_series_plots.py' -not -name 'test_time_series_utils_plots.py' -delete
find tests -type f -not -name '__init__.py' -not -name 'test_classification_plots.py' -not -name 'test_regression_plots.py' -not -name 'conftest.py' -not -name 'time_series_test_utils.py' -not -name 'test_time_series_plots.py' -not -name 'test_time_series_utils_plots.py' -delete
- name: Test with pytest
run: pytest

Expand Down Expand Up @@ -231,7 +231,7 @@ jobs:
pip list
- name: Remove tests
run: |
find pycaret/tests -type f -not -name '__init__.py' -not -name 'conftest.py' -not -name 'time_series_test_utils.py' -not -name 'test_time_series_tune_random.py' -delete
find tests -type f -not -name '__init__.py' -not -name 'conftest.py' -not -name 'time_series_test_utils.py' -not -name 'test_time_series_tune_random.py' -delete
- name: Test with pytest
run: pytest

Expand Down Expand Up @@ -265,6 +265,6 @@ jobs:
pip list
- name: Remove tests
run: |
find pycaret/tests -type f -not -name '__init__.py' -not -name 'conftest.py' -not -name 'time_series_test_utils.py' -not -name 'test_time_series_tune_grid.py' -delete
find tests -type f -not -name '__init__.py' -not -name 'conftest.py' -not -name 'time_series_test_utils.py' -not -name 'test_time_series_tune_grid.py' -delete
- name: Test with pytest
run: pytest
11 changes: 3 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ venv/
.ipynb_checkpoints/
.pytest_cache/
__pycache__/
catboost_info
mlruns/
catboost_info/
/stacker.py
/stacknet.py
/cli.py
/app.py
/cli_app.py
/logo.png
/mlruns
/model
/Results.html
/build
Expand All @@ -21,13 +21,9 @@ catboost_info
/logs.log
examples/logs.log
.log
pycaret/__pycache__/
pycaret/tests/__pycache__/
tutorials/logs.log
/docs/build
.idea/
mlruns/
/pycaret/tests/mlruns/
*.log
trained_models/
*.pkl
Expand All @@ -38,5 +34,4 @@ demo4.py
dask*/
/.venv
/.devcontainer
tmp
tmp/*
tmp/
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ If you are interested or have already written Medium story covering `PyCaret`. Y
If you are willing to make major contribution you can always look out for the active sprint under `Projects` and discuss the proposal with sprint leader. Current active sprint is `2.2 - major refactoring`. This sprint is led by `Yard1`.

## What we currently need help on?
- Improving unit-test cases https://github.com/pycaret/pycaret/tree/master/pycaret/tests
- Improving unit-test cases https://github.com/pycaret/pycaret/tree/master/tests
- Major refactoring in `preprocess.py` to accommodate distributed processing
- Example Notebooks required. Send PR to https://github.com/pycaret/pycaret/tree/master/examples

Expand Down
2 changes: 1 addition & 1 deletion docs/source/contribute.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ sprint leader.
What we currently need help on?
-------------------------------
- Improving unit-test cases and test coverage
https://github.com/pycaret/pycaret/tree/master/pycaret/tests
https://github.com/pycaret/pycaret/tree/master/tests
- Refactor preprocessing pipeline to support GPU
- Dask Integration

Expand Down

0 comments on commit ec478a1

Please sign in to comment.