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

[EDA] Disable EDA tests and doc build temporarily #3425

Merged
merged 2 commits into from
Jul 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflow_scripts/build_all_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ install_all_no_tests
LOCAL_DOC_PATH=_build/html

cd docs
rm -rf tutorials/eda # disable eda temporarily
sphinx-build -D nb_execution_mode=off -b html . $LOCAL_DOC_PATH

rm -rf "$LOCAL_DOC_PATH/.doctrees/" # remove build artifacts that are not needed to serve webpage
Expand Down
78 changes: 39 additions & 39 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,26 +164,26 @@ jobs:
job-type: CI-WASM
job-name: AutoGluon-Lite
command: chmod +x ./.github/workflow_scripts/test_tabular_lite.sh && ./.github/workflow_scripts/test_tabular_lite.sh
test_eda:
needs: lint_check
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Check if changes beside docs
uses: dorny/paths-filter@v2
id: changes
with:
filters: |
other_than_docs:
- '!(docs/**)**'
- name: Test EDA on AWS Batch
if: steps.changes.outputs.other_than_docs == 'true'
uses: ./.github/actions/submit-job
with:
job-type: CI-CPU
job-name: AutoGluon-EDA
command: chmod +x ./.github/workflow_scripts/test_eda.sh && ./.github/workflow_scripts/test_eda.sh
# test_eda:
# needs: lint_check
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repository
# uses: actions/checkout@v2
# - name: Check if changes beside docs
# uses: dorny/paths-filter@v2
# id: changes
# with:
# filters: |
# other_than_docs:
# - '!(docs/**)**'
# - name: Test EDA on AWS Batch
# if: steps.changes.outputs.other_than_docs == 'true'
# uses: ./.github/actions/submit-job
# with:
# job-type: CI-CPU
# job-name: AutoGluon-EDA
# command: chmod +x ./.github/workflow_scripts/test_eda.sh && ./.github/workflow_scripts/test_eda.sh
test_multimodal_predictor:
needs: lint_check
runs-on: ubuntu-latest
Expand Down Expand Up @@ -285,7 +285,7 @@ jobs:
job-name: AutoGluon-Install
command: chmod +x ./.github/workflow_scripts/test_install.sh && ./.github/workflow_scripts/test_install.sh
build_tabular_prediction_tutorial:
needs: [test_common, test_core, test_features, test_tabular, test_eda, test_multimodal_predictor, test_multimodal_others, test_multimodal_others_2, test_timeseries, test_tabular_lite, test_install]
needs: [test_common, test_core, test_features, test_tabular, test_multimodal_predictor, test_multimodal_others, test_multimodal_others_2, test_timeseries, test_tabular_lite, test_install]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand All @@ -302,7 +302,7 @@ jobs:
strategy:
matrix:
SUB_DOC: ["advanced_topics", "image_prediction", "matching", "object_detection", "text_prediction", "document", "multimodal_prediction"]
needs: [test_common, test_core, test_features, test_tabular, test_eda, test_multimodal_predictor, test_multimodal_others, test_multimodal_others_2, test_timeseries, test_install]
needs: [test_common, test_core, test_features, test_tabular, test_multimodal_predictor, test_multimodal_others, test_multimodal_others_2, test_timeseries, test_install]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand All @@ -316,7 +316,7 @@ jobs:
job-name: AutoGluon-BuildMultimodal
command: chmod +x ./.github/workflow_scripts/build_multimodal_tutorial.sh && ./.github/workflow_scripts/build_multimodal_tutorial.sh '${{ matrix.SUB_DOC }}' '${{ env.BRANCH }}' '${{ env.GIT_REPO }}' '${{ env.SHORT_SHA }}' '${{ env.PR_NUMBER }}'
build_cloud_fit_deploy_tutorial:
needs: [test_common, test_core, test_features, test_tabular, test_eda, test_multimodal_predictor, test_multimodal_others, test_multimodal_others_2, test_timeseries, test_install]
needs: [test_common, test_core, test_features, test_tabular, test_multimodal_predictor, test_multimodal_others, test_multimodal_others_2, test_timeseries, test_install]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand All @@ -330,7 +330,7 @@ jobs:
job-name: AutoGluon-BuildCloudFitDeploy
command: chmod +x ./.github/workflow_scripts/build_cloud_fit_deploy_tutorial.sh && ./.github/workflow_scripts/build_cloud_fit_deploy_tutorial.sh '${{ env.BRANCH }}' '${{ env.GIT_REPO }}' '${{ env.SHORT_SHA }}' '${{ env.PR_NUMBER }}'
build_timeseries_tutorial:
needs: [test_common, test_core, test_features, test_tabular, test_eda, test_multimodal_predictor, test_multimodal_others, test_multimodal_others_2, test_timeseries, test_install]
needs: [test_common, test_core, test_features, test_tabular, test_multimodal_predictor, test_multimodal_others, test_multimodal_others_2, test_timeseries, test_install]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand All @@ -343,22 +343,22 @@ jobs:
job-type: CI-GPU
job-name: AutoGluon-BuildTimeseries
command: chmod +x ./.github/workflow_scripts/build_timeseries_tutorial.sh && ./.github/workflow_scripts/build_timeseries_tutorial.sh '${{ env.BRANCH }}' '${{ env.GIT_REPO }}' '${{ env.SHORT_SHA }}' '${{ env.PR_NUMBER }}'
build_eda_tutorial:
needs: [test_common, test_core, test_features, test_tabular, test_eda, test_multimodal_predictor, test_multimodal_others, test_multimodal_others_2, test_timeseries, test_install]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Env Vars
uses: ./.github/actions/setup-env-vars
- name: Build EDA Tutorial on AWS Batch
uses: ./.github/actions/submit-job
with:
job-type: CI-GPU
job-name: AutoGluon-BuildEda
command: chmod +x ./.github/workflow_scripts/build_eda_tutorial.sh && ./.github/workflow_scripts/build_eda_tutorial.sh '${{ env.BRANCH }}' '${{ env.GIT_REPO }}' '${{ env.SHORT_SHA }}' '${{ env.PR_NUMBER }}'
# build_eda_tutorial:
# needs: [test_common, test_core, test_features, test_tabular, test_eda, test_multimodal_predictor, test_multimodal_others, test_multimodal_others_2, test_timeseries, test_install]
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repository
# uses: actions/checkout@v2
# - name: Setup Env Vars
# uses: ./.github/actions/setup-env-vars
# - name: Build EDA Tutorial on AWS Batch
# uses: ./.github/actions/submit-job
# with:
# job-type: CI-GPU
# job-name: AutoGluon-BuildEda
# command: chmod +x ./.github/workflow_scripts/build_eda_tutorial.sh && ./.github/workflow_scripts/build_eda_tutorial.sh '${{ env.BRANCH }}' '${{ env.GIT_REPO }}' '${{ env.SHORT_SHA }}' '${{ env.PR_NUMBER }}'
build_all_docs:
needs: [build_tabular_prediction_tutorial, build_multimodal_tutorial, build_cloud_fit_deploy_tutorial, build_timeseries_tutorial, build_eda_tutorial]
needs: [build_tabular_prediction_tutorial, build_multimodal_tutorial, build_cloud_fit_deploy_tutorial, build_timeseries_tutorial]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down
62 changes: 31 additions & 31 deletions .github/workflows/platform_tests-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,37 +131,37 @@ jobs:
run: |
chmod +x ./.github/workflow_scripts/test_features.sh && ./.github/workflow_scripts/test_features.sh

eda:
needs: setup
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
python: ["3.8", "3.9", "3.10"]
steps:
- name: Checkout repository for PR
if: (github.event_name == 'workflow_dispatch')
uses: actions/checkout@v2
with:
ref: ${{ github.event.inputs.pr-sha }}
- name: Checkout repository for nightly test
if: (github.event_name == 'schedule')
uses: actions/checkout@v2
- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2.0.0
with:
activate-environment: autogluon_py3
environment-file: .github/workflows_env/unittest_env.yml
auto-update-conda: true
python-version: ${{ matrix.python }}
- name: unit-test
shell: bash -l {0}
run: |
chmod +x ./.github/workflow_scripts/test_eda.sh && ./.github/workflow_scripts/test_eda.sh
# eda:
# needs: setup
# runs-on: ${{ matrix.os }}
# defaults:
# run:
# shell: bash
# strategy:
# fail-fast: false
# matrix:
# os: [macos-latest, windows-latest, ubuntu-latest]
# python: ["3.8", "3.9", "3.10"]
# steps:
# - name: Checkout repository for PR
# if: (github.event_name == 'workflow_dispatch')
# uses: actions/checkout@v2
# with:
# ref: ${{ github.event.inputs.pr-sha }}
# - name: Checkout repository for nightly test
# if: (github.event_name == 'schedule')
# uses: actions/checkout@v2
# - name: Setup Miniconda
# uses: conda-incubator/setup-miniconda@v2.0.0
# with:
# activate-environment: autogluon_py3
# environment-file: .github/workflows_env/unittest_env.yml
# auto-update-conda: true
# python-version: ${{ matrix.python }}
# - name: unit-test
# shell: bash -l {0}
# run: |
# chmod +x ./.github/workflow_scripts/test_eda.sh && ./.github/workflow_scripts/test_eda.sh

tabular:
needs: setup
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
TWINE_PASSWORD: ${{ secrets. PYPI_PASSWORD }}
RELEASE: 1
run: |
for v in common core features tabular multimodal timeseries autogluon eda
for v in common core features tabular multimodal timeseries autogluon
do
cd "$v"/
python setup.py sdist bdist_wheel
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
TWINE_USERNAME: ${{ secrets. PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets. PYPI_PASSWORD }}
run: |
for v in common core features tabular multimodal timeseries autogluon eda
for v in common core features tabular multimodal timeseries autogluon
do
cd "$v"/
python setup.py sdist bdist_wheel
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pythonpublish_testpypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
TWINE_PASSWORD: ${{ secrets.PYPI_TEST_PASSWORD }}
RELEASE: 1
run: |
for v in common core features tabular multimodal timeseries autogluon eda
for v in common core features tabular multimodal timeseries autogluon
do
cd "$v"/
python setup.py sdist bdist_wheel
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ Tabular <tutorials/tabular/index>
Multimodal <tutorials/multimodal/index>
Time Series <tutorials/timeseries/index>
tutorials/cloud_fit_deploy/index
EDA <tutorials/eda/index>
<!-- EDA <tutorials/eda/index> -->
```

```{toctree}
Expand Down