@@ -87,20 +87,27 @@ default = { solve-group = "default" }
8787dev = { features = [" dev" ], solve-group = " default" }
8888
8989[tool .pixi .feature .dev .tasks ]
90+ # ## TEST RELATED TASKS ###
9091# run all tests
9192test-all = " pytest"
92- # pipeline related tests that do not require credentials - can currently be run locally and in github
93- test-pipeline = " pytest tests/sar_pipeline/ --ignore=tests/sar_pipeline/isce3_rtc"
94- # isce3-rtc tests that require credentials - not currently setup for github but should be run locally before PRs
93+
94+ # ## Shared Pipeline Tests###
95+ # tests do not require credentials - can currently be run locally and in github
96+ test-pipeline = " pixi run install-pygssearch-env && export PYGSSEARCH_CONDA_ENV='$(conda info --base)/envs/pygssearch-env' && pytest tests/sar_pipeline/ --ignore=tests/sar_pipeline/isce3_rtc"
97+ test-scene-data-source-queries =" pixi run install-pygssearch-env && export PYGSSEARCH_CONDA_ENV='$(conda info --base)/envs/pygssearch-env' && pytest tests/sar_pipeline/test_scenes.py -o log_cli=true --capture=tee-sys --log-cli-level=INFO -v -s"
98+
99+ # ## ISCE3_RTC Pipeline Tests ###
100+ # Tests require credentials - not currently setup for github but should be run locally before PRs
95101test-isce3-rtc = " pytest tests/sar_pipeline/isce3_rtc -o log_cli=true --capture=tee-sys --log-cli-level=INFO -v -s"
96102test-isce3-rtc-full-docker-run = " pytest tests/sar_pipeline/isce3_rtc/test_full_docker_build_and_run.py -o log_cli=true --capture=tee-sys --log-cli-level=INFO -v -s"
97103test-isce3-rtc-cli-make-rtc-opera-stac-and-upload-bursts = " pytest tests/sar_pipeline/isce3_rtc/test_cli_make_rtc_opera_stac_and_upload_bursts.py -o log_cli=true --capture=tee-sys --log-cli-level=INFO -v -s"
98- # test queries from all providers (ASF, CDSE, AUS_COP_HUB). pygssearch conda environment is required for the AUS_COP_HUB test
99- test-scene-data-source-queries =" pixi run install-pygssearch-env && export PYGSSEARCH_CONDA_ENV='$(conda info --base)/envs/pygssearch-env' && pytest tests/sar_pipeline/test_scenes.py -o log_cli=true --capture=tee-sys --log-cli-level=INFO -v -s"
100- # test downloads from all providers. pygssearch conda environment is required for the AUS_COP_HUB test
101104test-isce3-rtc-downloads = " pixi run install-pygssearch-env && export PYGSSEARCH_CONDA_ENV='$(conda info --base)/envs/pygssearch-env' && pytest tests/sar_pipeline/isce3_rtc/test_downloads.py -o log_cli=true --capture=tee-sys --log-cli-level=INFO -v -s"
102- # nci specific tests that should be run locally on the nci
105+
106+ # ## NCI Pipeline tests
107+ # specific tests that should be run locally on the nci
103108test-nci-filesystem = " pytest tests/filesystem"
109+
110+ # ## GENERAL TASKS ###
104111lint = " black sar_pipeline"
105112
106113[tool .pixi .feature .dev .dependencies ]
0 commit comments