You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, datajoint-python pytest runs unit and integration test by default, which requires a DB
pytest --cov-report term-missing --cov=datajoint tests
# trying to connect to a DB, otherwise integration test would fail
so it actually needs runs in docker that comes with a DB container
docker compose --profile test up --quiet-pull --build --exit-code-from djtest djtest
Requirements
N/A
Justification
We should add unit test check in pre-commit locally, and let the CI to run integration test with docker
Alternative Considerations
N/A
Related Errors
N/A
Please include steps to reproduce provided errors as follows:
N/A
Screenshots
N/A
Additional Research and Context
N/A
The text was updated successfully, but these errors were encountered:
yambottle
added
enhancement
Indicates new feature requests
triage
Indicates issues, pull requests, or discussions need to be reviewed for the first time
stale
Indicates issues, pull requests, or discussions are inactive
and removed
triage
Indicates issues, pull requests, or discussions need to be reviewed for the first time
stale
Indicates issues, pull requests, or discussions are inactive
labels
Mar 14, 2025
Improvement Request
Problem
Currently, datajoint-python pytest runs unit and integration test by default, which requires a DB
so it actually needs runs in docker that comes with a DB container
Requirements
N/A
Justification
We should add unit test check in pre-commit locally, and let the CI to run integration test with docker
Alternative Considerations
N/A
Related Errors
N/A
Please include steps to reproduce provided errors as follows:
N/A
Screenshots
N/A
Additional Research and Context
N/A
The text was updated successfully, but these errors were encountered: