qiskit-community / qiskit-alt

High-performance Qiskit features backed by Julia. A Python front end to algorithms using Pauli and Fermionic operators implemented in Julia.
Apache License 2.0
13 stars 2 forks source link

Installation and integration tests with Docker #20

Open jlapeyre opened 2 years ago

jlapeyre commented 2 years ago

@garrison Do you have ideas about how to do CI or local test scripts using Docker ? Do you make a bunch of containers and run them in a shell script? (I am trying this here.) How do you check output? Simplest would be to look at return code from building the container. Maybe running a container can print to stdout, and you collect that ?

Here are some Dockerfiles where I am moving in this direction.

The containers so far are following these ideas for containers as layers (I think "layers" is not the correct term here)

jlapeyre commented 2 years ago

I have added modified Dockerfiles to the main branch, and to a release ae78f22 . Currently you have to run a script to build the docker images and check the log files for errors (usually pretty obvious). But, I think this will help quite a bit controlling regressions.