iGEM-Engineering / iGEM-distribution

Repository for collective design of an iGEM DNA distribution
https://igem-distribution.readthedocs.io
Other
42 stars 20 forks source link

Dockerize tests #249

Open isaacguerreir opened 2 years ago

isaacguerreir commented 2 years ago

Github Actions are a container where people could reliably run code in the same context every time. One of the pipelines in this project is the script for regression tests. If some coder is trying to create new tests, or develop features while testing (TDD), he should find the environment (context) necessary to test locally the tests (python version, environment setting, find the correct script tests).

Dockerizing an environment could make the development and testing easier, almost like running the python-test pipeline locally. In practice, we should create a Dockerfile, a bash script that runs the container, and add the information on how to run the bash script.

This could be expanded lately to have another docker environment to run syncronize.yml locally.