Continuous Integration

Batsim is tested under Gitlab’s continuous integration system.

_images/overview.svg
  • Main CI script is .gitlab-ci.yml (from Batsim’s repository root directory).
  • CI logs are available on Batsim’s Framagit Pipelines.
  • Docker image used for tests is defined in env/docker/Dockerfile (from Batsim’s repository root directory).
  • Give a look at CI’s script to reproduce locally. Enable Batsim’s Cachix cache to not recompile dependencies: cachix add batsim.

Additionnally, a Batsim container is deployed on Dockerhub for each commit on the master branch. This is done on GitHub Actions whose script is defined in build-docker-containers.yml (from Batsim’s repository root directory).