microsoft / durabletask-java

Java SDK for Durable Functions and the Durable Task Framework
MIT License
13 stars 7 forks source link

GitHub Actions PR validation workflow #1

Closed cgillum closed 2 years ago

cgillum commented 2 years ago

Requirement

Each PR should trigger a GitHub Actions workflow that does a build and runs the integration tests. Additionally, the project README file should include a badge that displays the current status of the build, as well as instructions for how developers can do the validations on their local machines.

Approach

The integration tests require a sidecar to be present since the Java orchestrations can't be run end-to-end in the test process. A sidecar implementation exists here and can be packaged as a publicly available Docker container and used for these tests.

Other considerations

The build.gradle file currently disables running these integration tests because of their dependency on an external sidecar. I'm not very familiar with the gradle build system, but we'll need to make sure there is a simple way to execute these tests from the command line.