WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 5624cf0

Browse files
committed
cleanup pyproject.toml
1 parent 179fe54 commit 5624cf0

File tree

2 files changed

+16
-9
lines changed

2 files changed

+16
-9
lines changed

pixi.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,20 +87,27 @@ default = { solve-group = "default" }
8787
dev = { features = ["dev"], solve-group = "default" }
8888

8989
[tool.pixi.feature.dev.tasks]
90+
### TEST RELATED TASKS ###
9091
# run all tests
9192
test-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
95101
test-isce3-rtc = "pytest tests/sar_pipeline/isce3_rtc -o log_cli=true --capture=tee-sys --log-cli-level=INFO -v -s"
96102
test-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"
97103
test-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
101104
test-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
103108
test-nci-filesystem = "pytest tests/filesystem"
109+
110+
### GENERAL TASKS ###
104111
lint = "black sar_pipeline"
105112

106113
[tool.pixi.feature.dev.dependencies]

0 commit comments

Comments
 (0)