Skip to content

Commit

Permalink
Merge pull request #89 from matrix-org/kegan/write-ci-mitmdump
Browse files Browse the repository at this point in the history
Upload mitmdump files as artifacts
  • Loading branch information
kegsay authored Jun 21, 2024
2 parents 7041e29 + 9d6504f commit 9e4c6d3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/single_sdk_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ jobs:
env:
COMPLEMENT_BASE_IMAGE: homeserver
COMPLEMENT_ENABLE_DIRTY_RUNS: 1
COMPLEMENT_CRYPTO_WRITE_CONTAINER_LOGS: 1
COMPLEMENT_CRYPTO_MITMDUMP: mitm.dump
COMPLEMENT_CRYPTO_TEST_CLIENT_MATRIX: ${{ inputs.use_js_sdk != '' && 'jj' || 'rr' }} # TODO: brittle, we don't check rust-sdk input
COMPLEMENT_SHARE_ENV_PREFIX: PASS_
PASS_SYNAPSE_COMPLEMENT_DATABASE: sqlite
Expand All @@ -192,10 +192,11 @@ jobs:
RUST_SDK_LIB_RELATIVE: ${{ inputs.use_rust_sdk == '.' && '/target/debug' || '/complement-crypto/rust-sdk/target/debug'}}

- name: Upload logs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: Logs - ${{ job.status }}
name: Logs - ${{ inputs.use_js_sdk != '' && 'jssdk' || 'rust'}}
path: |
./complement-crypto/tests/logs/*
./complement-crypto/tests/mitm.dump

0 comments on commit 9e4c6d3

Please sign in to comment.