[github-actions] run MATN test cases as an individual job (#7308)

MATN test cases often takes long time. We'd better move them to a
separate job so that we don't have to rerun MATN cases every time a
border router test fails.
This commit is contained in:
whd
2022-01-13 10:53:44 -08:00
committed by GitHub
parent bb658e2705
commit 7a1c843ffd
9 changed files with 12 additions and 2 deletions
+12 -2
View File
@@ -136,11 +136,21 @@ jobs:
include:
- otbr_mdns: "mDNSResponder"
otbr_trel: 0
cert_scripts: ./tests/scripts/thread-cert/border_router/*.py
description: ""
- otbr_mdns: "mDNSResponder"
otbr_trel: 1
cert_scripts: ./tests/scripts/thread-cert/border_router/*.py
description: ""
- otbr_mdns: "mDNSResponder"
otbr_trel: 0
cert_scripts: ./tests/scripts/thread-cert/border_router/MATN/*.py
description: "MATN"
- otbr_mdns: "avahi"
otbr_trel: 0
name: BR (${{ matrix.otbr_mdns }}, TREL=${{matrix.otbr_trel}})
cert_scripts: ./tests/scripts/thread-cert/border_router/*.py
description: ""
name: BR ${{ matrix.description }} (${{ matrix.otbr_mdns }}, TREL=${{matrix.otbr_trel}})
env:
REFERENCE_DEVICE: 1
VIRTUAL_TIME: 0
@@ -196,7 +206,7 @@ jobs:
run: |
export CI_ENV="$(bash <(curl -s https://codecov.io/env)) -e GITHUB_ACTIONS -e COVERAGE"
echo "CI_ENV=${CI_ENV}"
sudo -E ./script/test cert_suite ./tests/scripts/thread-cert/border_router/*.py || (sudo chmod a+r *.log *.json *.pcap && false)
sudo -E ./script/test cert_suite ${{ matrix.cert_scripts }} || (sudo chmod a+r *.log *.json *.pcap && false)
- uses: actions/upload-artifact@v2
if: ${{ success() && steps.check_cache_result.outputs.cache-hit != 'true' }}
with: