Skip to content
Snippets Groups Projects
Commit f28869fa authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB
Browse files

Adjust pytest and CI config so it can run from repo root

parent 9f430233
No related branches found
No related tags found
No related merge requests found
......@@ -67,8 +67,7 @@ before_script:
# list packages
- ${PYTHON} -m pip list installed
script:
- cd gracedb
- ${PYTHON} -m pytest --cov . --junitxml=${CI_PROJECT_DIR}/junit.xml
- PYTHONPATH=${PYTHONPATH}:${PWD}/gracedb ${PYTHON} -m pytest --cov ./gracedb --junitxml=${CI_PROJECT_DIR}/junit.xml
after_script:
- rm -fvr ${PIP_CACHE_DIR}/log
artifacts:
......
[pytest]
addopts =
-r a
--ignore events/tests/test_perms.py
--ignore api/v2
[pytest]
addopts =
-r a
--ignore=gracedb/events/tests/test_perms.py
--ignore=gracedb/api/v2
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment