StefanSchubert / sabi

Seawater Aquarium Business Intelligence (sabi) aims to gain knowledge from aquarists for aquarists based on collected seawater parameters.
https://sabi-project.net
MIT License
4 stars 3 forks source link

Enable github action to run server modules MasterTestSuite #67

Closed StefanSchubert closed 3 years ago

StefanSchubert commented 3 years ago

This seems to be a bit tricky, as because of relying on eclipselink we need to provide a link into mavens build repository, see servers pom.xml

                   <jvmArguments>
                        -javaagent:${settings.localRepository}/org/springframework/spring-instrument/${spring.instrument.version}/spring-instrument-${spring.instrument.version}.jar
                    </jvmArguments>

for the git runner we may use ~/.m2/ but then again it wouldn't match my local repository setup. Hm....working with maven profile here?

StefanSchubert commented 3 years ago

Before solving the jvmArgument problem. Currently the MasterTestSuite runs from IDE via JUnit but not via maven surefire and mvn test !? So this needs to be solved first.

StefanSchubert commented 3 years ago

Working now. Problem was autodetection of the test provider junit4.x. So I configured it manually.