Skip to content
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

A couple of changes to allow override the test artifact output (which would otherwise conflict) #369

Merged
merged 1 commit into from
Aug 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,14 @@ on:
required: false
default: 'ghcr.io/restatedev/restate:main'
type: string
env_vars:
required: true
envVars:
required: false
type: string
description: list of vars and values used when running the test tool
testArtifactOutput:
required: false
type: string
description: list of vars and values
description: name of the test artifact output

jobs:

Expand Down Expand Up @@ -97,10 +101,10 @@ jobs:
- name: Build restatedev/java-test-services image
run: ./gradlew -Djib.console=plain :test-services:jibDockerBuild

- name: set environment variables
if: ${{ inputs.env_vars }}
- name: Set environment variables
if: ${{ inputs.envVars }}
run: |
for env in "${{ inputs.env_vars }}"
for env in "${{ inputs.envVars }}"
do
printf "%s\n" $env >> $GITHUB_ENV
done
Expand All @@ -115,7 +119,7 @@ jobs:
- uses: actions/upload-artifact@v4
if: always() # Make sure this is run even when test fails
with:
name: sdk-java-integration-test-report
name: ${{ inputs.testArtifactOutput != '' && inputs.testArtifactOutput || 'sdk-java-integration-test-report' }}
path: test-report
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
Expand Down
Loading