Skip to content

Commit 4bd8d3f

Browse files
authored
ci(dhat): upload dhat artifacts regardless of steps outcome (#2850)
1 parent df20953 commit 4bd8d3f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,9 @@ jobs:
873873
run: ./target/release/memory-report server &
874874

875875
- name: Run client
876+
id: run-client
876877
working-directory: tools/memory-report
878+
continue-on-error: true
877879
run: ./target/release/memory-report client > report.tsv
878880

879881
- name: Prepare artifacts
@@ -912,6 +914,12 @@ jobs:
912914
name: "dhat / report"
913915
status: "success"
914916
url: "${{ steps.s3.outputs.URL }}"
917+
918+
- name: Check run client status
919+
if: steps.run-client.outcome != 'success'
920+
run: |
921+
echo "Run client step failed"
922+
exit 1
915923
916924
loom:
917925
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)