Skip to content

Commit b0f2f96

Browse files
committed
Start pushing test results for health dashboard
1 parent 04d6d05 commit b0f2f96

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/nightly.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,16 @@ jobs:
3333
env:
3434
CC: ${{ matrix.cc }}
3535
SSL: ${{ matrix.ssl }}
36-
TFLAGS: ${{ matrix.select }} -DMQTT_LOCALHOST
36+
TFLAGS: ${{ matrix.select }} -DMQTT_LOCALHOST -DNO_ABORT
3737
steps:
3838
- uses: actions/checkout@v4
3939
with: { fetch-depth: 2 }
40-
- run: sudo apt -y update ; sudo apt -y install libmbedtls-dev libwolfssl-dev && test/setup_mqtt_server.sh && make -C test ${{ matrix.target }}
40+
- uses: webfactory/[email protected]
41+
with:
42+
ssh-private-key: ${{ secrets.HEALTH_TESTS_SSH_KEY }}
43+
- run: sudo apt -y update ; sudo apt -y install libmbedtls-dev libwolfssl-dev && test/setup_mqtt_server.sh && make -C test ${{ matrix.target }} > log
44+
- run: test/health.awk < log > json
45+
- run: scp -o "StrictHostKeyChecking=no" json "[email protected]:/data/downloads/linux_${{ matrix.target }}_${{ matrix.cc }}_${{ matrix.ssl }}_${{ matrix.select }}_$(date +"%Y%m%d").json"
4146
mip:
4247
runs-on: ubuntu-latest
4348
strategy:

0 commit comments

Comments
 (0)