Skip to content

Commit

Permalink
Revert "E2E actions for running in runtime (#364)"
Browse files Browse the repository at this point in the history
This reverts commit 27175da.
  • Loading branch information
slinkydeveloper authored Aug 5, 2024
1 parent 27175da commit 4f5c398
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 113 deletions.
43 changes: 42 additions & 1 deletion .github/workflows/tests.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tests
name: CI

on:
pull_request:
Expand Down Expand Up @@ -71,6 +71,47 @@ jobs:
name: Event File
path: ${{ github.event_path }}


sdk-test-suite:
runs-on: ubuntu-latest
name: "Integration Test (Test tool ${{ matrix.sdk-test-suite }})"
strategy:
matrix:
sdk-test-suite: [ "1.4" ]

steps:
- uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Setup sdk-test-suite
run: wget --no-verbose https://github.com/restatedev/sdk-test-suite/releases/download/v${{ matrix.sdk-test-suite }}/restate-sdk-test-suite.jar

- name: Build restatedev/java-test-services image
run: ./gradlew -Djib.console=plain :test-services:jibDockerBuild

# Run test suite
- name: Run test suite
run: java -jar restate-sdk-test-suite.jar run --report-dir=test-report restatedev/java-test-services

# Upload logs and publish test result
- uses: actions/upload-artifact@v4
if: always() # Make sure this is run even when test fails
with:
name: test-report
path: test-report
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: |
test-report/*/*.xml
# TODO remove once we don't need it anymore
e2e:
permissions:
Expand Down
112 changes: 0 additions & 112 deletions .github/workflows/integration.yaml

This file was deleted.

0 comments on commit 4f5c398

Please sign in to comment.