gh-actions: test-on-iotlab: additionally report as XML

This commit is contained in:
Martine S. Lenders 2020-08-27 16:08:46 +02:00
parent 1dd5dc4b47
commit 64824854f9
No known key found for this signature in database
GPG Key ID: CCD317364F63286F

View File

@ -84,7 +84,7 @@ jobs:
- name: Install Python dependencies - name: Install Python dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install iotlabcli pexpect pip install iotlabcli pexpect junit-xml
- name: Configure credentials - name: Configure credentials
run: echo '${{ secrets.IOTLABRC }}' > ~/.iotlabrc run: echo '${{ secrets.IOTLABRC }}' > ~/.iotlabrc
- name: Setup SSH agent - name: Setup SSH agent
@ -112,7 +112,7 @@ jobs:
echo "::set-env name=IOTLAB_EXP_ID::${IOTLAB_EXP_ID}" echo "::set-env name=IOTLAB_EXP_ID::${IOTLAB_EXP_ID}"
- name: Run compile_and_test_for_board.py on ${{ matrix.boards.riot }} - name: Run compile_and_test_for_board.py on ${{ matrix.boards.riot }}
run: | 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} results-${{ matrix.boards.riot }} ${COMPILE_AND_TEST_ARGS}
- name: Stop IoT-LAB experiment - name: Stop IoT-LAB experiment
if: always() if: always()