This repository was archived by the owner on Dec 21, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed
Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -219,3 +219,14 @@ jobs:
219219 timeout_minutes : 15
220220 retry_on : error
221221 command : cd streamr-client-testing && DEBUG='' java -jar build/libs/client_testing-1.0-SNAPSHOT.jar -s $TEST_NAME -c config/$CONFIG_NAME.conf -n $NUM_MESSAGES
222+ - name : Collect docker logs on failure
223+ if : failure()
224+ uses : jwalton/gh-docker-logs@v1
225+ with :
226+ dest : ' ./logs'
227+ - name : Upload logs to GitHub
228+ if : failure()
229+ uses : actions/upload-artifact@master
230+ with :
231+ name : docker-logs-${{ github.job }}
232+ path : ./logs
Original file line number Diff line number Diff line change @@ -112,6 +112,17 @@ jobs:
112112 services-to-start : " mysql redis core-api cassandra parity-node0 parity-sidechain-node0 bridge broker-node-no-storage-1 broker-node-no-storage-2 broker-node-storage-1 nginx smtp"
113113 - name : Run Test
114114 run : npm run $TEST_NAME
115+ - name : Collect docker logs on failure
116+ if : failure()
117+ uses : jwalton/gh-docker-logs@v1
118+ with :
119+ dest : ' ./logs'
120+ - name : Upload logs to GitHub
121+ if : failure()
122+ uses : actions/upload-artifact@master
123+ with :
124+ name : docker-logs-${{ github.job }}
125+ path : ./logs
115126
116127 flakey :
117128 name : Flakey Tests using Node ${{ matrix.node-version }}
You can’t perform that action at this time.
0 commit comments