Skip to content

Commit

Permalink
restrict abacusutils tests
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed Oct 9, 2024
1 parent b160de4 commit 7db6470
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,12 @@ commands_pre =
pip install --no-build-isolation classy corrfunc
pip install -e abacusutils[test]
pip install -r {env_tmp_dir}/requirements.txt
# make an empty pytest.ini to prevent pytest from crawling up
# one directory and finding the pytest configuration for the asdf
# repo clone
bash -c "echo '' > pytest.ini"
pip freeze
commands =
pytest abacusutils
# only running a subset of tests since only a portion of abacusutils
# relies on asdf
pytest abacusutils/tests/test_data.py

0 comments on commit 7db6470

Please sign in to comment.