#!/bin/sh
set -efu

PYS=${PYS:-"$(py3versions -s 2>/dev/null)"}
TESTPKG=${TESTPKG:-xarray-sentinel}
TESTDIR=${PWD}/tests
cd "$AUTOPKGTEST_TMP"

for py in $PYS; do
    echo "=== $py ==="
    $py -m pytest -v -k "\
not test_mosaic_slc_iw \
and not test_to_group_netcdf \
and not test_open_dataset_zip_data \
and not test_to_group_zarr" \
${TESTDIR}
done
