Skip to content

Commit

Permalink
upload logs
Browse files Browse the repository at this point in the history
  • Loading branch information
typotter committed Nov 5, 2024
1 parent 4fc6879 commit 73a4218
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/test-sdk-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
runs-on: ubuntu-latest
env:
SDK_NAME: ${{matrix.sdk.sdkName}}
SDK_DIR: ${{ matrix.sdk.sdkDir }}
EPPO_API_HOST: ${{matrix.sdk.hostAddressFromDocker}}
SDK_RELAY_HOST: ${{matrix.sdk.hostAddressFromDocker}}
TEST_RUNNER_HOST: ${{matrix.sdk.hostAddressFromDocker}}
Expand Down Expand Up @@ -55,15 +56,21 @@ jobs:
popd
- name: Run tests
env:
SDK_DIR: ${{ matrix.sdk.sdkDir }}
run: |
pushd package-testing/sdk-test-runner
./test-sdk.sh server ${{ matrix.sdk.sdkName }}
ls -al ./logs
popd
- name: Upload Logs
if: success() || failure() # always run even if the previous steps fail
uses: actions/upload-artifact@v4
with:
name: ${{ steps.date.outputs.date }}-${{ matrix.sdk.sdkName }}-sdk-test-logs
path: logs/

- name: Test Report
if: success() || failure() # always run even if the previous steps fail
run: |
echo "Link to the rendered test report"
pushd package-testing/sdk-test-runner
Expand Down

0 comments on commit 73a4218

Please sign in to comment.