From 64824854f9bee2dc1d3c7c812e45d07325aede1c Mon Sep 17 00:00:00 2001 From: "Martine S. Lenders" Date: Thu, 27 Aug 2020 16:08:46 +0200 Subject: [PATCH] gh-actions: test-on-iotlab: additionally report as XML --- .github/workflows/test-on-iotlab.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-on-iotlab.yml b/.github/workflows/test-on-iotlab.yml index 136b2b4476..83aa40f9a9 100644 --- a/.github/workflows/test-on-iotlab.yml +++ b/.github/workflows/test-on-iotlab.yml @@ -84,7 +84,7 @@ jobs: - name: Install Python dependencies run: | python -m pip install --upgrade pip - pip install iotlabcli pexpect + pip install iotlabcli pexpect junit-xml - name: Configure credentials run: echo '${{ secrets.IOTLABRC }}' > ~/.iotlabrc - name: Setup SSH agent @@ -112,7 +112,7 @@ jobs: echo "::set-env name=IOTLAB_EXP_ID::${IOTLAB_EXP_ID}" - name: Run compile_and_test_for_board.py on ${{ matrix.boards.riot }} run: | - ${COMPILE_AND_TEST_FOR_BOARD} . ${{ matrix.boards.riot }} \ + ${COMPILE_AND_TEST_FOR_BOARD} --report-xml . ${{ matrix.boards.riot }} \ results-${{ matrix.boards.riot }} ${COMPILE_AND_TEST_ARGS} - name: Stop IoT-LAB experiment if: always()