-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues/135 enable parallel maven builds #136
Conversation
The PostgreSQL container for JUnit database and integration tests is now started via the testcontainers library. PostgreSQL containers and FHIR jetty servers now use random tcp ports. With `mvn install -DforkCount=4 -T2C` maven modules can be build in parallel and multiple test classes executed concurrently. The parameter -T2C results in two threads per CPU core used to build maven modules. With -DforkCount=4 parallel execution of 4 JUnit test classes can be enabled. Note, this means that for database tests, multiple PostgreSQL containers and for integration tests multiple database containers and jetty servers will be running. Removes not needed batch/bash scripts to start PostgreSQL DB for running JUnit tests via IDE. Adds javadoc to BasicFhirWebserviceClient.
default from action -> '["workflow_dispatch", "schedule", "merge_group"]'
@@ -162,12 +162,13 @@ | |||
<dependency> | |||
<groupId>de.hs-heilbronn.mi</groupId> | |||
<artifactId>crypto-utils</artifactId> | |||
<!-- Can't update to 4.0.0 as renamed packages in crypto-utils would break existing process plugins --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New API version needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally yes, but as long as we want to support API v1 we need to keep crypto-utils 3.8.0 around. At least as part of the process plugins parent class loader. For future versions of the API we should try to minimize dependencies and transitive dependencies.
Reverted build workflow back to old single-step config. Removed pull_request trigger from build workflow to suppress duplicate runs. Pull requests from forks should be merged into issues branches before merging into develop if CI run is required. Enabled parallel maven module builds for all workflows.
Enables parallel maven builds with parallel test execution.
The PostgreSQL container for JUnit database and integration tests is now started via the testcontainers library. PostgreSQL containers and FHIR jetty servers now use random tcp ports.
With
mvn install -DforkCount=4 -T2C
maven modules can be build in parallel and multiple test classes executed concurrently. The parameter-T2C
results in two threads per CPU core used to build maven modules. With-DforkCount=4
parallel execution of 4 JUnit test classes can be enabled. Note, this means that for database tests, multiple PostgreSQL containers and for integration tests multiple database containers and jetty servers will be running.Removes not needed batch/bash scripts to start PostgreSQL DB for running JUnit tests via IDE.
Adds javadoc to BasicFhirWebserviceClient.
closes #135