mirror of
https://github.com/espressif/openthread.git
synced 2026-08-01 08:37:47 +00:00
[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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user