Skip to content
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

Tests: Speed up MR and deployment testing #505

Open
spbnick opened this issue Feb 12, 2024 · 0 comments
Open

Tests: Speed up MR and deployment testing #505

spbnick opened this issue Feb 12, 2024 · 0 comments

Comments

@spbnick
Copy link
Collaborator

spbnick commented Feb 12, 2024

At the moment full deployment testing takes over an hour, possibly around two hours, and even regular testing takes quite a while. This slows down development considerably. Find for ways to speed it up. Options include:

  • Parallelize testing. Allow tests using independent singleton fixtures to execute in parallel. It's not clear how to do that, as pytest doesn't seem to support it.
  • Remove less important tests, or relegate them to scheduled testing only.
  • Figure out how to only trigger tests that are relevant to the changes
  • Figure out how to speed up particularly-slow tests
  • Figure out how to speed up deployment. E.g. deploy some things in parallel, or get rid of the slow-building jq dependency in cloud deployments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant