Commit Graph

28 Commits

Author SHA1 Message Date
Fu Hanxi 4f92cfd077 ci: rename eco tags to revision 2026-03-26 12:24:59 +01:00
Fu Hanxi 0b71f5c42b ci: rename eco_default to rev_default 2026-01-20 08:58:10 +01:00
Igor Udot 84d2b57df9 Merge branch 'ci/check_build_test_rules' into 'master'
ci: fix mismatch in check_build_test_rules

Closes CII-49 and CII-50

See merge request espressif/esp-idf!43937
2025-12-05 11:56:39 +08:00
igor.udot e075bf2781 ci: wildcard temp_skip and support multiple temp_skip markers 2025-12-04 14:10:48 +08:00
Fu Hanxi 678192902b ci: introduce default marker eco_default 2025-12-03 15:07:47 +01:00
igor.udot 083200737c ci: pytest-ignore skip using dut id 2025-11-21 11:43:15 +08:00
Igor Udot b65366d5c4 Merge branch 'ci/fix-test-skip-ci-issue' into 'master'
ci: fix temp_skip_ci issue where test job was not skipped

Closes IDFCI-3032

See merge request espressif/esp-idf!40628
2025-07-17 16:53:01 +08:00
igor.udot ab85534fb7 ci: fix temp_skip_ci issue where test job was not skipped 2025-07-17 16:27:00 +08:00
Fu Hanxi 76181e5fce ci: skip app downloader for host test cases 2025-07-16 14:11:08 +02:00
Fu Hanxi 15b411270e ci: apply idf-ci on generating child pipelines 2025-07-09 10:33:29 +02:00
Fu Hanxi a5257dcc39 ci: apply idf-ci pytest plugin
Removed

- target markers. Now must use target as parametrization in esp-idf
- host test markers. Now will be automatically added with linux target and qemu marker
2025-07-09 10:33:28 +02:00
igor.udot bbcef0570d ci: add test marks linter 2025-03-04 15:53:32 +08:00
Aleksei Apaseev c03b007644 ci: fix testcase path resolution in JUnit reports. switch to the different unity test report mode. add app_path to target test report 2025-02-17 18:55:53 +08:00
Fu Hanxi 9201cfc4cd ci: fix test case markers when put targets as params 2024-08-09 14:56:52 +08:00
igor.udot 5c23314da1 fix: apps empty list is not None 2024-07-19 12:29:42 +08:00
Fu Hanxi 61559dc3e4 ci: ignore collect import error on CI with env var 2024-05-24 16:29:39 +02:00
Fu Hanxi 9fe2986c82 ci: ignore import error when collecting pytest cases locally 2024-05-23 10:09:37 +02:00
Fu Hanxi 7641776ae2 ci: support filter pytest with sdkconfig name 2024-03-12 11:16:39 +01:00
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 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 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
Fu Hanxi d2f5f3549e ci: sort pytest test cases by app path 2023-10-23 08:53:20 +02:00
Fu Hanxi 5e4427ab13 ci(pytest): add plugin pytest-ignore-test-results
pass with warning if test job got ignored.
2023-08-18 10:50:18 +08:00
Fu Hanxi 39f3a5f3ac ci(pytest): skip test case if no app found while collecting, not setup 2023-08-18 08:36:06 +08:00
Fu Hanxi 17bbb2a5a2 ci(pytest): use one class to filter the nightly_run 2023-08-18 08:36:06 +08:00
Fu Hanxi 1d69302eae ci(pytest): move pytest utils into tools/ci/idf_pytest
For future usage
2023-08-18 08:36:06 +08:00