Skip to content

Commit

Permalink
change dkist directory to fix pytest configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed Jan 23, 2025
1 parent e4f3634 commit 0fbb526
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -313,17 +313,13 @@ allowlist_externals =
bash
extras =
commands_pre =
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt"
git clone https://github.com/DKISTDC/dkist.git
pip install -e dkist[tests]
pip install -r {env_tmp_dir}/requirements.txt
git clone https://github.com/DKISTDC/dkist.git .
bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/asdf_requirement.txt"
pip install -e ".[tests]"
pip install -r {env_tmp_dir}/asdf_requirement.txt
pip freeze
commands =
# the AsdfManifestURIMismatchWarning filter can be removed when a new sunpy
# is released which contains the fixed manifests:
# https://github.com/sunpy/sunpy/pull/7432
pytest dkist --benchmark-skip \
-W "ignore::asdf.exceptions.AsdfManifestURIMismatchWarning"
pytest --benchmark-skip

[testenv:abacusutils]
change_dir = {env_tmp_dir}
Expand Down

0 comments on commit 0fbb526

Please sign in to comment.