Closed hbto closed 1 year ago
For record,
We need to migrate the coverage
command:
And generates coveragerc content:
And get the same coveragerc file:
It could be migrated to tools_test file in order to be able to re-use it in t2d:
The idea is to have everything autoconfigured. So that as stated, when running the command coverage run
or coverage report -m
, you can automatically regenerate coverage data or see the coverage report.
The commands must simply work. So for example, the result should be the same regardless of the current working directory. It should also use the customization each repo has in their variables.sh
.
To do this, environment variables will used (for the most part), for example COVERAGE_HOME
or COVERAGE_RCFILE
to specify the configuration file to be used. Some of this variables can be directly set from the Dockerfile, some others (for examples modules to run) are more complicated and will probably need to be computed and set during the installation process in build.sh
.
For record,
It is working like a charm
Thank you @antonag32
in the previous version of t2d, that is t2d with --deployv switch,
We were able to fetch a coverage report with the following command:
Can we have it back in order to assess how are we increasing/decreasing the coverage of our development without having wait for the CD. This will have a good side effect reduce the number of job in the CD only to know the coverage.
Regards.