Skip to content

Commit fd7f318

Browse files
authored
Use test suite 2.4 (#476)
1 parent 56ec4eb commit fd7f318

File tree

1 file changed

+8
-29
lines changed

1 file changed

+8
-29
lines changed

.github/workflows/integration.yaml

Lines changed: 8 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,7 @@ jobs:
3737
sdk-test-suite:
3838
if: github.repository_owner == 'restatedev'
3939
runs-on: ubuntu-latest
40-
name: "Features integration test (sdk-test-suite version ${{ matrix.sdk-test-suite }})"
41-
strategy:
42-
matrix:
43-
sdk-test-suite: ["2.1"]
40+
name: Features integration test
4441
permissions:
4542
contents: read
4643
issues: read
@@ -90,17 +87,10 @@ jobs:
9087
docker tag "${output#*: }" "localhost/restatedev/restate-commit-download:latest"
9188
docker image ls -a
9289
93-
- name: Setup Java
94-
uses: actions/setup-java@v4
95-
with:
96-
distribution: "temurin"
97-
java-version: "17"
9890
- name: Set up QEMU
9991
uses: docker/setup-qemu-action@v3
10092
- name: Set up Docker Buildx
10193
uses: docker/setup-buildx-action@v3
102-
- name: Setup sdk-test-suite
103-
run: wget --no-verbose https://github.com/restatedev/sdk-test-suite/releases/download/v${{ matrix.sdk-test-suite }}/restate-sdk-test-suite.jar
10494

10595
- name: Build Typescript test-services image
10696
id: build
@@ -110,25 +100,14 @@ jobs:
110100
file: "packages/restate-e2e-services/Dockerfile"
111101
push: false
112102
load: true
113-
tags: localhost/restatedev/test-services:latest
103+
tags: restatedev/typescript-test-services
114104
cache-from: type=gha,scope=${{ github.workflow }}
115105
cache-to: type=gha,mode=max,scope=${{ github.workflow }}
116106

117-
# Run test suite
118-
- name: Run test suite
119-
env:
120-
RESTATE_CONTAINER_IMAGE: ${{ inputs.restateCommit != '' && 'localhost/restatedev/restate-commit-download:latest' || (inputs.restateImage != '' && inputs.restateImage || 'ghcr.io/restatedev/restate:main') }}
121-
run: java -jar restate-sdk-test-suite.jar run --report-dir=test-report --exclusions-file packages/restate-e2e-services/exclusions.yaml localhost/restatedev/test-services:latest
122-
123-
# Upload logs and publish test result
124-
- uses: actions/upload-artifact@v4
125-
if: always() # Make sure this is run even when test fails
126-
with:
127-
name: sdk-typescript-integration-test-report
128-
path: test-report
129-
- name: Publish Test Results
130-
uses: EnricoMi/publish-unit-test-result-action@v2
131-
if: always()
107+
- name: Run test tool
108+
uses: restatedev/[email protected]
132109
with:
133-
files: |
134-
test-report/*/*.xml
110+
restateContainerImage: ${{ inputs.restateCommit != '' && 'localhost/restatedev/restate-commit-download:latest' || (inputs.restateImage != '' && inputs.restateImage || 'ghcr.io/restatedev/restate:main') }}
111+
serviceContainerImage: "restatedev/typescript-test-services"
112+
exclusionsFile: "packages/restate-e2e-services/exclusions.yaml"
113+
testArtifactOutput: "sdk-typescript-integration-test-report"

0 commit comments

Comments
 (0)