From 9155a2159f1ed057e657a1418dd9c4f3696223a1 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 22 Jun 2026 21:55:04 -0400 Subject: Add GBO test using a modern conda installer --- tests/data/gbo_ng.ini | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 tests/data/gbo_ng.ini (limited to 'tests/data') 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 -- cgit From 59657cacfd5a5f0f28c04a7698558a005bb4af92 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Tue, 23 Jun 2026 10:41:45 -0400 Subject: tests: add compression test data --- tests/data/compression/bz2 | Bin 0 -> 42 bytes tests/data/compression/gz | Bin 0 -> 26 bytes tests/data/compression/none | 1 + tests/data/compression/xz | Bin 0 -> 72 bytes tests/data/compression/zip | Bin 0 -> 202 bytes tests/data/compression/zstd | Bin 0 -> 19 bytes 6 files changed, 1 insertion(+) create mode 100644 tests/data/compression/bz2 create mode 100644 tests/data/compression/gz create mode 100644 tests/data/compression/none create mode 100644 tests/data/compression/xz create mode 100644 tests/data/compression/zip create mode 100644 tests/data/compression/zstd (limited to 'tests/data') diff --git a/tests/data/compression/bz2 b/tests/data/compression/bz2 new file mode 100644 index 0000000..20d3517 Binary files /dev/null and b/tests/data/compression/bz2 differ diff --git a/tests/data/compression/gz b/tests/data/compression/gz new file mode 100644 index 0000000..2762cd9 Binary files /dev/null and b/tests/data/compression/gz differ diff --git a/tests/data/compression/none b/tests/data/compression/none new file mode 100644 index 0000000..ce01362 --- /dev/null +++ b/tests/data/compression/none @@ -0,0 +1 @@ +hello diff --git a/tests/data/compression/xz b/tests/data/compression/xz new file mode 100644 index 0000000..f54e3fc Binary files /dev/null and b/tests/data/compression/xz differ diff --git a/tests/data/compression/zip b/tests/data/compression/zip new file mode 100644 index 0000000..1f77925 Binary files /dev/null and b/tests/data/compression/zip differ diff --git a/tests/data/compression/zstd b/tests/data/compression/zstd new file mode 100644 index 0000000..a827868 Binary files /dev/null and b/tests/data/compression/zstd differ -- cgit