diff --git a/.circleci/config.yml b/.circleci/config.yml index 99ac4c7ab..c0ec0daa0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -49,7 +49,7 @@ jobs: name: Testing MintPy Python Modules command: | export PATH=${CONDA_PREFIX}/bin:${PATH} - ${MINTPY_HOME}/tests/test_asc_desc2horz_vert.py + ${MINTPY_HOME}/tests/asc_desc2horz_vert.py ${MINTPY_HOME}/tests/objects/ionex.py - run: @@ -57,28 +57,28 @@ jobs: command: | export PATH=${CONDA_PREFIX}/bin:${PATH} mkdir -p ${HOME}/data - ${MINTPY_HOME}/tests/test_smallbaselineApp.py --dir ${HOME}/data --dset FernandinaSenDT128 + ${MINTPY_HOME}/tests/smallbaselineApp.py --dir ${HOME}/data --dset FernandinaSenDT128 - run: name: Testing MintPy on Example Dataset 2/4 - SanFranSenDT42 (ARIA) command: | export PATH=${CONDA_PREFIX}/bin:${PATH} mkdir -p ${HOME}/data - ${MINTPY_HOME}/tests/test_smallbaselineApp.py --dir ${HOME}/data --dset SanFranSenDT42 + ${MINTPY_HOME}/tests/smallbaselineApp.py --dir ${HOME}/data --dset SanFranSenDT42 - run: name: Testing MintPy on Example Dataset 3/4 - WellsEnvD2T399 (Gamma) command: | export PATH=${CONDA_PREFIX}/bin:${PATH} mkdir -p ${HOME}/data - ${MINTPY_HOME}/tests/test_smallbaselineApp.py --dir ${HOME}/data --dset WellsEnvD2T399 + ${MINTPY_HOME}/tests/smallbaselineApp.py --dir ${HOME}/data --dset WellsEnvD2T399 - run: name: Testing MintPy on Example Dataset 4/4 - WCapeSenAT29 (SNAP) command: | export PATH=${CONDA_PREFIX}/bin:${PATH} mkdir -p ${HOME}/data - ${MINTPY_HOME}/tests/test_smallbaselineApp.py --dir ${HOME}/data --dset WCapeSenAT29 + ${MINTPY_HOME}/tests/smallbaselineApp.py --dir ${HOME}/data --dset WCapeSenAT29 workflows: version: 2 diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 9d6eb751c..afdaa956e 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -92,10 +92,10 @@ Some things that will increase the chance that your pull request is accepted qui ## Testing ## -It's a good idea to test any changes or bugs you have fixed, in the feature branch locally, before issuing/submitting the pull request. We realize that we don't have a complete testing system in place yet (maybe you can contribute this!), except for an overall testing script `test_smallbaselineApp.py`: +It's a good idea to test any changes or bugs you have fixed, in the feature branch locally, before issuing/submitting the pull request. We realize that we don't have a complete testing system in place yet (maybe you can contribute this!), except for an overall testing script for `smallbaselineApp.py`: ``` -${MINTPY_HOME}/tests/test_smallbaselineApp.py +${MINTPY_HOME}/tests/smallbaselineApp.py ``` It takes about 15 mins to finish. diff --git a/tests/test_asc_desc2horz_vert.py b/tests/asc_desc2horz_vert.py similarity index 100% rename from tests/test_asc_desc2horz_vert.py rename to tests/asc_desc2horz_vert.py diff --git a/tests/test_smallbaselineApp.py b/tests/smallbaselineApp.py similarity index 94% rename from tests/test_smallbaselineApp.py rename to tests/smallbaselineApp.py index d2ec68668..5c2233cc1 100755 --- a/tests/test_smallbaselineApp.py +++ b/tests/smallbaselineApp.py @@ -25,12 +25,12 @@ } URL_LIST = [ - 'https://zenodo.org/record/5498198/files/FernandinaSenDT128.tar.xz', - 'https://zenodo.org/record/4320005/files/SanFranSenDT42.tar.xz', - 'https://zenodo.org/record/3952950/files/WellsEnvD2T399.tar.xz', - 'https://zenodo.org/record/5502403/files/RidgecrestSenDT71.tar.xz', - 'https://zenodo.org/record/4318134/files/WCapeSenAT29.tar.xz', - 'https://zenodo.org/record/3952917/files/KujuAlosAT422F650.tar.xz', + 'https://zenodo.org/record/5498198/files/FernandinaSenDT128.tar.xz', # 280 MB + 'https://zenodo.org/record/6662079/files/SanFranSenDT42.tar.xz', # 280 MB + 'https://zenodo.org/record/3952950/files/WellsEnvD2T399.tar.xz', # 280 MB + 'https://zenodo.org/record/5502403/files/RidgecrestSenDT71.tar.xz', # 480 MB + 'https://zenodo.org/record/6661536/files/WCapeSenAT29.tar.xz', # 240 MB + 'https://zenodo.org/record/3952917/files/KujuAlosAT422F650.tar.xz', # 230 MB ] PROJ_NAMES = [os.path.basename(url).split('.tar.xz')[0] for url in URL_LIST] @@ -48,10 +48,10 @@ """ EXAMPLE = """example: - test_smallbaselineApp.py - test_smallbaselineApp.py --dir ~/test - test_smallbaselineApp.py --dset KujuAlosAT422F650 - test_smallbaselineApp.py --nofresh + $MINTPY_HOME/tests/smallbaselineApp.py + $MINTPY_HOME/tests/smallbaselineApp.py --dir ~/test + $MINTPY_HOME/tests/smallbaselineApp.py --dset KujuAlosAT422F650 + $MINTPY_HOME/tests/smallbaselineApp.py --nofresh """ def create_parser():