We discovered by accident that our nightly build is not running our JUnit tests anymore.
All executions of maven skip the tests:
|
mvn -B -ntp -Pnative -DskipTests=true -Drevision=${current_version} package |
|
run: mvn --settings .mvn/settings.xml -DskipTests=true -Darchetype.test.skip=true -Dgpg.skip=true -Dstyle.color=always -B -ntp -Passembly,msi,deploy deploy |
Further, the step Download natives and build project only downloads artifacts but does not build the project:
|
- name: Download natives and build project |
The assumption is that that step once was containing the build and test execution.
For the QA of the main branch we still have a separate CI build that runs the tests so we still see if main is red or green according to our tests so this is not critical.
Maybe we should even consider this as a feature and to avoid waste of resources.
However, at least renaming the build step removing and build project to avoid confusion should be the least done before closing this issue.
We discovered by accident that our nightly build is not running our JUnit tests anymore.
All executions of maven skip the tests:
IDEasy/.github/workflows/nightly-build.yml
Line 31 in dbc533c
IDEasy/.github/workflows/nightly-build.yml
Line 84 in dbc533c
Further, the step
Download natives and build projectonly downloads artifacts but does not build the project:IDEasy/.github/workflows/nightly-build.yml
Line 76 in dbc533c
The assumption is that that step once was containing the build and test execution.
For the QA of the main branch we still have a separate CI build that runs the tests so we still see if
mainis red or green according to our tests so this is not critical.Maybe we should even consider this as a feature and to avoid waste of resources.
However, at least renaming the build step removing
and build projectto avoid confusion should be the least done before closing this issue.