Skip to content

Commit 1683cb4

Browse files
committed
restrict abacusutils tests
1 parent 120fb50 commit 1683cb4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tox.ini

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,12 @@ commands_pre =
338338
pip install --no-build-isolation classy corrfunc
339339
pip install -e abacusutils[test]
340340
pip install -r {env_tmp_dir}/requirements.txt
341+
# make an empty pytest.ini to prevent pytest from crawling up
342+
# one directory and finding the pytest configuration for the asdf
343+
# repo clone
341344
bash -c "echo '' > pytest.ini"
342345
pip freeze
343346
commands =
344-
pytest abacusutils
347+
# only running a subset of tests since only a portion of abacusutils
348+
# relies on asdf
349+
pytest abacusutils/tests/test_data.py

0 commit comments

Comments
 (0)