feat(client): support TrogonEventStore adoption (#1) #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Integration Tests | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| inputs: | |
| server_image: | |
| description: Fully qualified TrogonEventStore container image | |
| required: false | |
| default: ghcr.io/trogonstack/trogoneventstore:ci | |
| type: string | |
| permissions: | |
| contents: read | |
| jobs: | |
| integration: | |
| name: Integration | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Java | |
| uses: actions/setup-java@cf277c60eb25467037889841efdb72551f06f6c3 # v4.7.1 | |
| with: | |
| distribution: temurin | |
| java-version: "21" | |
| - name: Set up Gradle | |
| uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4.4.4 | |
| - name: Run single-node integration tests | |
| env: | |
| TROGON_EVENTSTORE_IMAGE: ${{ inputs.server_image || 'ghcr.io/trogonstack/trogoneventstore:ci' }} | |
| run: ./gradlew ci --tests StreamsTests --tests PersistentSubscriptionsTests --tests TelemetryTests |