mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
tools/ci : Added the support to execute python certification tests in CI.
- Added the support of the certification tests in CI for esp32c6. - Added pytest_cert_helper script to execute certification tests. - Added the json file to maintain and modify a list of tests to be run in the CI. - Added the PICS file for extended_color_light for wifi for the certification tests. - Added the support to post the test results on gitlab MR. - Added the support to use certification test json file as an argument to pytests. - Added support to use gitlab environment variables like ssid and password in pytests.
This commit is contained in:
+11
-1
@@ -525,9 +525,19 @@ pytest_esp32c6_esp_matter_dut:
|
||||
- cd ${ESP_MATTER_PATH}
|
||||
- rm -rf connectedhomeip/connectedhomeip
|
||||
- ln -s ${CHIP_SUBMODULE_PATH} connectedhomeip/connectedhomeip
|
||||
- cd connectedhomeip/connectedhomeip
|
||||
- source out/py-env/bin/activate
|
||||
- cd ${ESP_MATTER_PATH}
|
||||
- cp ${ESP_MATTER_PATH}/tools/ci/extended_color_light_wifi_pics_code.txt $ESP_MATTER_PATH/connectedhomeip/connectedhomeip/src/python_testing/
|
||||
- pip install -r tools/ci/requirements-pytest.txt
|
||||
- pytest examples/ --target esp32c6 -m esp_matter_dut --junitxml=XUNIT_RESULT.xml
|
||||
- python3 -c "import os; os.environ['TEST_CHUNK'] = '$TEST_CHUNK'"
|
||||
- pytest examples/ --target esp32c6 -m esp_matter_dut --junitxml=XUNIT_RESULT.xml --certification-json=$ESP_MATTER_PATH/tools/ci/certification_test_commands.json
|
||||
tags: ["esp32c6", "esp_matter_dut"]
|
||||
parallel:
|
||||
matrix:
|
||||
- TEST_CHUNK:
|
||||
- "1"
|
||||
- "2"
|
||||
|
||||
pytest_esp32c2_esp_matter_dut:
|
||||
stage: target_test
|
||||
|
||||
Reference in New Issue
Block a user