gh-actions: test-on-iotlab: additionally report as XML
This commit is contained in:
parent
1dd5dc4b47
commit
64824854f9
4
.github/workflows/test-on-iotlab.yml
vendored
4
.github/workflows/test-on-iotlab.yml
vendored
@ -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()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user