This message was deleted.
# hamilton-help
s
This message was deleted.
👀 1
e
Hey! I’ve never tried to run it that way, but I’d actually recommend setting up unit tests to run locally:
pip install -r requirements-test.txt
python -m pytest tests
As we don’t have integration tests, these are mostly fast enough to run. Then, if you want to simulate circleCI, you can actually use the circleCI CLI… But I’d argue that going through
docker run
is going to slow you down, especially for iterating. Makes sense?
(also
pytest -k
is great for running just one/a few tests)
s
Mine worked without
sudo
:
Copy code
PYTHON_VERSION='3.8'
TASK=tests
docker run  --entrypoint=""  -v "$(pwd)":/opt/testing  --workdir /opt/testing  --env TASK=${TASK}  -it circleci/python:${PYTHON_VERSION}  /bin/bash -c ".ci/setup.sh && .ci/test.sh"
@Swapnil Dewalkar so I wasn’t able to recreate your issue
s
I tried with sudo and without sudo, Tests are passing if I just run tests. circleci is working on git, I believe some issue in my local, I will check once, All checks passed in GITHUB.
👍 1