Skip to content

Commit

Permalink
Getting output from failed jobs
Browse files Browse the repository at this point in the history
Signed-off-by: Loic Pottier <[email protected]>
  • Loading branch information
lpottier committed Oct 2, 2024
1 parent ba99677 commit 9ec5f64
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -493,14 +493,16 @@ jobs:
# python3 $GITHUB_WORKSPACE/tools/rmq/send_ams.py -c $GITHUB_WORKSPACE/rmq.json -r test3 -n 10
AMS_LOG_LEVEL=debug AMS_OBJECTS=$GITHUB_WORKSPACE/build/tests/AMSlib/rmq.json $GITHUB_WORKSPACE/build/tests/AMSlib/ams_rmq 0 8 9 "double" 2 1024 2 > $GITHUB_WORKSPACE/output.txt 2>&1
AMS_LOG_LEVEL=debug AMS_OBJECTS=$GITHUB_WORKSPACE/build/tests/AMSlib/rmq.json $GITHUB_WORKSPACE/build/tests/AMSlib/ams_rmq 0 8 9 "double" 2 1024 2 | tee $GITHUB_WORKSPACE/output.txt 2>&1
#ctest --output-on-failure -R AMSEndToEndFromJSON::NoModel::Double::DB::rmq::HOST
env:
RABBITMQ_USER: guest
RABBITMQ_PASS: guest
RABBITMQ_HOST: rabbitmq
RABBITMQ_PORT: 5672
- name: Print output
- name: Persist logs
if: ${{ failure() }}
run: |
cat $GITHUB_WORKSPACE/output.txt
cat $GITHUB_WORKSPACE/output.txt
shell: bash

0 comments on commit 9ec5f64

Please sign in to comment.