COVESA / ifex

The Interface Exchange Framework. Tools for processing interface/API descriptions in different formats, including the IFEX core format. Some example files are at: https://github.com/COVESA/vehicle_service_catalog.
Mozilla Public License 2.0
14 stars 17 forks source link

Update containers and include CI test for container builds #62

Closed gunnarx closed 1 year ago

gunnarx commented 1 year ago

Significant update of the docker/container files.

Primary reason for the update:

  1. Complete and bugfix the configuration of Dockerfiles and Makefile for the containers.
  2. Introduce a Github-Actions CI workflow to ensure that building containers keeps working, and also to run pytest for IFEX in the container environment(s).

(Some) detailed changes:

Why? -> The container setup enables:

NOTES:

It's good because it creates diversity in testing, but the original reason was to work around bugs with pyenv / compiling python from source on the alpine variant.

gunnarx commented 1 year ago

NOTE: The container builds/tests are a bit heavier on network/execution time, so they run on pull requests only, compared to the traditional unit test and docs generation that runs also on pushes.