Closed DK96-OS closed 2 years ago
Now coverage reports should be generated, and the verification check performed.
strategy
is not supported by any job that calls a Reusable Workflow.
If the reusable workflows themselves cannot use strategy, then we'll be using Java 11 only.
Problems remaining:
The coverage verification is supposed to fail because the minimum has been increased.
The test report upload issue would be resolved if generators module were ready to merge.
Now that #63 has been merged, the generators module is available in the base branch. The generators module is the highest in the dependency graph, and contains the test-aggregator plugin, so the test report upload problem should be fixed after merging the latest changes from the base branch.
The method java.util.List.of
that provides immutable lists, was added in Java 9.
This is why the recent test failed when adding Java 8 to the testing matrix.
This error did not occur when changing the targetCompatibility in the build scripts. Only when the project is built using Java 8 does the error appear.
This means it is possible that if the Jar is built with JDK 11 targeting JRE 8, there won't be any issues running on JVM 8.
This PR contains significant workflow developments that would be ideal to have available in all other branches.
The failing verify-coverage check is known, and expected due to the increase of minimum coverage parameters. This is being done to encourage progress at a reasonable pace.
Most modules will need work to reach coverage, excluding generators which was recently created. And each of these modules deserves independent and focused attention.
With all of these considerations being expressed, it is clearly the correct choice to merge this PR with this one failing check.
Also, since build_and_test was removed, the badge in the ReadMe file needs to be updated.
It appears that a workflow badge is only given to workflow files that run on events other than a reusable workflow_call
.
Increase the minimum coverage in all modules to at least 95% Instructions, and 92% Branches.