diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2026-06-22 21:55:04 -0400 |
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2026-06-22 21:55:04 -0400 |
| commit | 9155a2159f1ed057e657a1418dd9c4f3696223a1 (patch) | |
| tree | afbc6c4901dbb9921e954e32d2fd9eee8278b635 /tests/data/gbo_ng.ini | |
| parent | db06c1b6acb478a9dae36011f001ba4504de9067 (diff) | |
| download | stasis-9155a2159f1ed057e657a1418dd9c4f3696223a1.tar.gz | |
Add GBO test using a modern conda installer
Diffstat (limited to 'tests/data/gbo_ng.ini')
| -rw-r--r-- | tests/data/gbo_ng.ini | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/tests/data/gbo_ng.ini b/tests/data/gbo_ng.ini new file mode 100644 index 0000000..355e5ee --- /dev/null +++ b/tests/data/gbo_ng.ini @@ -0,0 +1,66 @@ +[meta] +mission = generic +name = GBO +version = 2.4.6 +rc = 1 +final = false +based_on = {{ env:TEST_DATA }}/gbo.yml +python = 3.11 + + +[conda] +installer_name = Miniforge3 +installer_version = 26.3.2-2 +installer_platform = {{env:STASIS_CONDA_PLATFORM}} +installer_arch = {{env:STASIS_CONDA_ARCH}} +installer_baseurl = https://github.com/conda-forge/miniforge/releases/download/{{conda.installer_version}} +;conda_packages = +pip_packages = + firewatch==0.0.4 + gwcs==0.22.1 + tweakwcs==0.9.0 + + +[runtime] +CPPFLAGS = ${CPPFLAGS} -fpermissive +PYTHONUNBUFFERED = 1 + + +[test:firewatch] +repository = https://github.com/astroconda/firewatch +script_setup = + pip install -e '.' +script = + firewatch -c conda-forge -p ${STASIS_CONDA_PLATFORM_SUBDIR} | grep -E ' python-[0-9]' + + +[test:tweakwcs] +repository = https://github.com/spacetelescope/tweakwcs +script_setup = + pip install -e '.[test]' +script = + pytest \ + -r fEsx \ + --basetemp="{{ func:basetemp_dir() }}" \ + --junitxml="{{ func:junitxml_file() }}" + + +[deploy:artifactory:delivery] +files = + {{ storage.output_dir }}/** +dest = {{ meta.mission }}/{{ info.build_name }}/ + + +[deploy:docker] +registry = bytesalad.stsci.edu +image_compression = zstd -v -9 -c +build_args = + SNAPSHOT_INPUT={{ info.release_name }}.yml + SNAPSHOT_PKGDIR=packages +tags = + {{ meta.name }}:{{ info.build_number }}-py{{ meta.python_compact }} + {{ deploy.docker.registry }}/{{ meta.name }}:{{ info.build_number }}-py{{ meta.python_compact }} +test_script = + source /etc/profile + python -m pip freeze + mamba info |
