Commit Graph

59 Commits

Author SHA1 Message Date
Chen Yudong 0b5e53216a ci: rename wifi_two_dut to two_duts 2025-12-03 09:54:23 +08:00
igor.udot f7d0b0388d ci: pytest-ignore skip using dut id 2025-11-24 11:10:37 +08:00
morris 2e75f56dcd Merge branch 'refactor/upgrade_i2s_codec_example_dependency_v5.4' into 'release/v5.4'
refactor(i2s_es8311): refactor es8311 example (v5.4)

See merge request espressif/esp-idf!40050
2025-06-30 10:06:30 +08:00
laokaiyao 50cfbaf573 refactor(i2s_es8311): remove esp-box bsp support 2025-06-23 12:12:38 +08:00
laokaiyao 96366a204a refactor(i2s_es8311): refactor es8311 example 2025-06-23 12:02:29 +08:00
Fu Hanxi 4594a84ddb ci: disable idf-ci plugin
this plugin will be re-enabled with compatible code in !38755
2025-06-11 10:56:24 +02:00
Fu Hanxi bed18219c6 ci: rename local idf_ci folder, avoid name collision 2025-04-25 11:26:15 +02:00
luaijun c8508e992f ci(c2/c3): add major eco version tests 2025-03-19 18:40:21 +08:00
Aleksei Apaseev 397fdb56fb ci: ensure binary size artifacts are uploaded in Build Stage Child pipeline via artifacts_handler script.
- Updated dynamic pipeline to include artifact upload commands for size reports, allowing easier parsing on the CI dashboard.
- Each job now handles its own size.json file, ensuring independent access for better CI artifact management.
2024-09-29 15:17:45 +08:00
Fu Hanxi 56f8b7158c ci: support diff manifest sha with the base commit 2024-09-26 15:22:56 +02:00
Alexey Lapshin 84d1ca8f72 fix(gdbstub_runtime): fix test gdbstub_runtime which requiers elf file 2024-09-23 22:59:23 +07:00
Armando 6933ba39bc fix(system): fixed ram loadable app on p4 2024-09-09 10:31:48 +08:00
wanckl 4e095f4b9f ci(esp32c61): enable c61 generic target test 2024-09-02 19:26:12 +08:00
Mahavir Jain 02da65314b Merge branch 'feat/adding_test_case_anti_rollback_and_flash_encryption' into 'master'
feat(ota): Added test for checking flash encryption and anti-rollback enabled

Closes IDF-9200

See merge request espressif/esp-idf!32951
2024-09-02 14:04:45 +08:00
hrushikesh.bhosale 99f0e1b526 feat(ota): Added test for checking flash encryption and anti-rollback enabled
Added test to check if flash encryption and anti-rollback enbaled
together. Added marked pytest.mark.flash_encryption to advanced OTA
test.
2024-08-30 14:11:33 +05:30
Fu Hanxi 9201cfc4cd ci: fix test case markers when put targets as params 2024-08-09 14:56:52 +08:00
Armando 20e665022f test(lp_i2s): added lp i2s read tests 2024-08-02 12:02:05 +08:00
Fu Hanxi aee189253a ci: fix missing argument ignore_app_dependencies_components 2024-07-24 15:03:44 +02:00
igor.udot 5c23314da1 fix: apps empty list is not None 2024-07-19 12:29:42 +08:00
laokaiyao cb22b8aaf7 ci(esp32c5): enable c5 target test 2024-07-02 16:45:49 +08:00
Fu Hanxi 61559dc3e4 ci: ignore collect import error on CI with env var 2024-05-24 16:29:39 +02:00
Sudeep Mohanty 50460d3483 feat(ci): Added CI host test for the linux target on MacOS runners
This commit adds a CI host test for the linux target to build and run
MacOS runners. Additionally, it adds a MacOS test for the hellow_world
app.
2024-05-24 16:29:22 +02:00
Fu Hanxi 9fe2986c82 ci: ignore import error when collecting pytest cases locally 2024-05-23 10:09:37 +02:00
Fu Hanxi 152db1a4ba ci: move log dir from pytest_embedded_log to pytest-embedded 2024-05-09 12:23:04 +02:00
Fu Hanxi 6acd57df02 ci: support trigger full pipeline by components 2024-03-20 10:03:48 +01:00
Fu Hanxi 7641776ae2 ci: support filter pytest with sdkconfig name 2024-03-12 11:16:39 +01:00
Mahavir Jain 842a658322 Merge branch 'feature/add_jtag_re_enable_example' into 'master'
feat: add example to re-enable jtag using hmac peripheral

Closes IDF-6909 and IDF-6910

See merge request espressif/esp-idf!26672
2024-03-05 17:52:59 +08:00
nilesh.kale 37adea9a14 feat: add example to re-enable jtag using hmac peripheral 2024-03-04 15:42:33 +05:30
Peter Marcisovsky 1302fd70ba ci: Add esp32s3 runner for usb device example tests
- CI USB device tests are run on esp32s3
    - usb_host env_marker removed - not used anymore
    - failing usb_device_ncm test fixed
2024-02-29 15:10:18 +01:00
Harshit Malpani e02801caad ci: Fix otatool example failure in CI for ESP32-C2 2024-02-29 14:09:36 +05:30
Fu Hanxi 85372fb1ce ci(pytest): fix multi dut wrongly be picked issue
This issue will happen to multi-dut test cases
- without `target` defined in param
- and with `app_path` defined in param
- and with `pytest.mark.target` markers
2024-02-21 10:18:21 +01:00
Fu Hanxi b5e6b883a5 ci: fix test related apps are force been built 2024-02-20 08:30:22 +01:00
Chen Yudong a72d5f4b41 ci: update protocol/ethernet pytest markers 2024-02-01 22:47:18 +08:00
Fu Hanxi 9783207f0b Merge branch 'ci/qemu_respect_all_test_triggerer' into 'master'
ci: fix idf_relpath issue while searching the apps

See merge request espressif/esp-idf!28645
2024-01-30 16:01:24 +08:00
Fu Hanxi 6895ff11b6 ci: fix get_all_apps for multi targets 2024-01-29 20:45:00 +08:00
Fu Hanxi 142a3c8a7a ci: fix idf_relpath issue while searching the apps
Now `PytestCase`, collect_app_info file, are all using relpath to idf
instead
2024-01-29 20:45:00 +08:00
Fu Hanxi 2d094ab9d3 test: remove succeeded temp projects
also rename `tmp_path` to `work_dirpath` since it's defined in pytest
2024-01-29 20:45:00 +08:00
Marius Vikhammer 852a33f32d ci(build): always build apps if gnore_build_warnings.txt changes 2024-01-29 14:24:57 +08:00
Ondrej Kosta c956e44a9e Merge branch 'feature/ethernet_ci' into 'master'
ci(esp_eth): enable Ethernet tests

See merge request espressif/esp-idf!28566
2024-01-23 21:59:38 +08:00
Fu Hanxi 2ddb0fb3f6 ci: fix app.requires_elf_or_map. Use absolute paths 2024-01-22 11:14:03 +01:00
Ondrej Kosta f732c3b7fd ci(esp_eth): enable Ethernet tests 2024-01-22 09:30:24 +01:00
Fu Hanxi c8dffc9378 ci: fix collect multi-dut test case with markers issue
While collecting, we stop registering the new plugin.
Otherwise the new created plugin will override the one we passed

also run the tests inside idf. the behavior is different.
2024-01-15 22:36:09 +01:00
Fu Hanxi fba96d58c2 ci: dynamic pipeline
build:
- upgrade idf-build-apps to 2.x
- unify get_pytest_apps and get_cmake_apps to get_all_apps
	- returns (test_apps, non_test_apps) tuple
- add tests for the new get_all_apps

assign:
- generate build report
- generate target test pipeline based on the build report

target test:
- download artifacts from minio server
- users can use `pytest --pipeline-id xxxxx` to download and flash
the binaries from the artifacts

.post:
- generate target test reports
2024-01-10 15:37:34 +01:00
Fu Hanxi 06af021c9f ci(pytest): stop ambiguous markers for multi-dut test case
also add `tools/ci/idf_pytest/tests` for testing
2024-01-10 15:29:42 +01:00
wanlei 8536ffb490 fix(twai): enable twai interactive test for all targets on new std runner 2024-01-05 15:22:09 +08:00
Armando 1ab742b3c3 ci(p4): enable esp32p4 target test 2024-01-04 09:34:55 +08:00
Cao Sen Miao 2a0debde3c change(usb_serial_jtag): Add a usb_serial_jtag echo example for how to use usb_serial_jtag APIs,
Closes https://github.com/espressif/esp-idf/issues/12620,
Closes https://github.com/espressif/esp-idf/issues/12605
2023-11-30 14:38:06 +08:00
Armando 9b0d75f2df refactor(sdmmc): added component pytest cases and enabled them on CI 2023-11-29 12:13:03 +08:00
Armando faa6e51086 feat(sdio): sdio cross chip test app 2023-11-13 11:21:47 +08:00
Fu Hanxi d2f5f3549e ci: sort pytest test cases by app path 2023-10-23 08:53:20 +02:00