diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index 74a3643e8..b8d464061 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -73,3 +73,4 @@ jobs: - linux: weldx - linux: sunpy - linux: dkist + - linux: abacusutils diff --git a/tox.ini b/tox.ini index 326489c2a..68544abf7 100644 --- a/tox.ini +++ b/tox.ini @@ -324,3 +324,20 @@ commands = # https://github.com/sunpy/sunpy/pull/7432 pytest dkist --benchmark-skip \ -W "ignore::asdf.exceptions.AsdfManifestURIMismatchWarning" + +[testenv:abacusutils] +change_dir = {env_tmp_dir} +allowlist_externals = + git + bash +extras = +commands_pre = + bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt" + git clone https://github.com/abacusorg/abacusutils.git + pip install -vU setuptools wheel scipy Cython 'numpy<2' # for classy and corrfunc + pip install --no-build-isolation classy corrfunc + pip install -e abacusutils[test] + pip install -r {env_tmp_dir}/requirements.txt + pip freeze +commands = + pytest abacusutils