Open fgalan opened 3 years ago
@wistefan you have been recently involved wigh GitActions for Orion. It would be great if you could have a look and help with this, please :)
Hi, I wont have the time to do it myself in the next few weeks, but you can use the solution I built for orion-ld repo as starting point: Action with Coveralls integration: https://github.com/FIWARE/context.Orion-LD/blob/develop/.github/workflows/coverage.yml LCov in docker-image: https://github.com/FIWARE/context.Orion-LD/blob/develop/docker/Dockerfile-test#L5 Coverage for functional tests: https://github.com/FIWARE/context.Orion-LD/blob/develop/docker/build.sh#L337-L381 Coverage for unit-tests: https://github.com/FIWARE/context.Orion-LD/blob/develop/docker/build.sh#L293-L303 & https://github.com/FIWARE/context.Orion-LD/blob/develop/makefile#L348-L370
The standard makefile generates a coverage report in
coverage/
directory using a command like this:It would be great to add this to GitActions, which means that also some modifications to the CI docker image has to be done. Some more detail about this task: