-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Speed-up user tests #10
Comments
Problem is not I see some options here:
|
it is mainly the tox tool to my understanding:
docker-compose is pretty much the same speed as just docker agent, we use pre-built docker images. and no, skipping user-tests does not make sense imo. What a point in building a Docker image and deliver it, if later the tests fail, i.e. the image is faulty?? |
By the way, don't forget that in order to run user tests, one has to install user application dependencies. The accepted from DEEPHDC practice is to start from the corresponding python docker image (previously Jenkins python node). This means that one has to install also e.g. |
The current work-around is to fix tox<4, which we have to do in CI/CD images ( |
User test are taking ages too run (in this example almost 5 mins). We should try to speed them up (parelizing, more resources, ...?).
@vykozlov says that, in old tox versions, one could reuse the same environment for all the different tests (bandit, flake, etc). But that is no longer possible in new tox versions, where the envirronments have to be rebuilt each time.
The text was updated successfully, but these errors were encountered: