memeLab/Jandig

Configure development pipeline

Closed this issue · 1 comments

Feature Request

Is your feature request related to a problem? Please describe.
As mentioned in the last meeting, the repository no longer has a development pipeline. The idea, thought by me and @eliseukadesh67, for ​​this issue would be to develop a new production pipeline, with several stages.
The steps would include, linter, build, integration tests (possibly), migration tests, unit tests and finally docker images pushing.

Describe the solution you'd like
As mentioned earlier, the resolution for this issue includes adding all the steps in Github actions. In addition, refactorings (linter) and new documentation will probably be necessary.

Additional context
This task probably relates to #433 and #434. If you can confirm this @pablodiegoss, we could try to resolve that issues too.
To make the pipeline easier to visualize, we developed the following image:
Mind Map

Issue #434 is directly related to this one, on the build step especially, since adding poetry would impact directly how we would implement the build step and even how we can execute linters and tests.

I'm not quite sure about #433 or how it would impact this pipeline, may not be related.

The pipeline could include the linter step before the build step, to avoid building code that isn't following our stylesheet, could save some CI runner time