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

Convert .ci/ folder to molecule tests #4557

Closed
chrisjsewell opened this issue Nov 11, 2020 · 0 comments · Fixed by #4565
Closed

Convert .ci/ folder to molecule tests #4557

chrisjsewell opened this issue Nov 11, 2020 · 0 comments · Fixed by #4565

Comments

@chrisjsewell
Copy link
Member

The .ci/ folder mainly contains scripts and tests that require a "pre-built" environment to run on and/or takes too long to run as part of the "normal" unit tests in tests/.

Its a bit of a mess though and, particularly is not ideal because all the tests are set-up to run on Jenkins or GH actions and are non-trivial to run and develop locally.

On quantum-mobile we use molecule which supports the automated creation/destruction of temporary isolated environments (usually but not restricted to docker containers) and the running of tests therein.
I think it should be possible to restructure this folder into a molecule configuration that could be run both locally and on the required CI platforms (see https://molecule.readthedocs.io/en/latest/ci.html#continuous-integration)

Originally posted by @chrisjsewell in #4548 (comment)

In fact, perhaps it would be possible to replace it with molecule testing. Then it would mean that you could actually run all these tests locally, rather than just via Jenkins/GH actions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant