Open mchlrch opened 5 years ago
Building the updatesite in gitlab CI.
Current situation: run only mvn package. Runs only unit-tests, no integration-tests
mvn package
Goal: run mvn integration-test
mvn integration-test
Xtext integration-tests launch an OSGi runtime (an Eclipse) and execute the project's tests in that runtime (for details, see tycho-surefire:test).
To get this working requires an appropriate docker image that includes xvfb (an in-memory display server) or similar.
xvfb
Some pointers:
See also here: https://github.com/zazuko/prefix-server/blob/master/.ci/test.yaml#L26
Building the updatesite in gitlab CI.
Current situation: run only
mvn package
. Runs only unit-tests, no integration-testsGoal: run
mvn integration-test
Xtext integration-tests launch an OSGi runtime (an Eclipse) and execute the project's tests in that runtime (for details, see tycho-surefire:test).
To get this working requires an appropriate docker image that includes
xvfb
(an in-memory display server) or similar.Some pointers: