Commit Graph
100 Commits
Author SHA1 Message Date
Fu Hanxi 54656ece64 ci: remove cached submodule metadata while checking with github 2025-06-24 10:55:51 +02:00
Fu Hanxi de38d22021 ci: disable idf-ci plugin
this plugin will be re-enabled with compatible code in !38755
2025-06-04 13:20:13 +02:00
Fu Hanxi 8875ada534 ci: disable sonarqube check 2024-10-25 13:03:44 +02:00
Fu Hanxi 354233fc59 feat: add component_source property to component targets 2024-10-14 12:05:52 +02:00
Fu Hanxi c77c218b86 fix: component manager load all component dirs even set(COMPONENTS ...) 2024-06-10 17:41:06 +08:00
Fu Hanxi a805000945 test: improve test_dependency_lock test case 2024-06-10 17:41:06 +08:00
Fu Hanxi a3e742818e ci: improve pytest build system tests
- remove temp dirs
- remove idf-component-manager unit test
2024-06-05 10:41:41 +02:00
Fu Hanxi 0615ddbd79 ci: always cleanup idf copy in ci 2024-06-05 10:40:31 +02:00
Fu Hanxi e9a053e2dc ci: disable ccache on macos build system test 2024-06-05 10:40:26 +02:00
Fu Hanxi d4903be742 ci: ensure macos selected the correct python installed by pyenv 2024-06-05 10:40:17 +02:00
Fu Hanxi 05872cfc2d Merge branch 'fix/pytest_session_dir_v5.2' into 'release/v5.2'
ci: apply new fix in pytest-embedded 1.10 (v5.2)

See merge request espressif/esp-idf!30677
2024-06-05 16:22:44 +08:00
Fu Hanxi 120a15b83f ci: move log dir from pytest_embedded_log to pytest-embedded 2024-05-22 16:59:01 +08:00
Fu Hanxi 899fc7cd4f ci: apply new fix in pytest-embedded 1.10 2024-05-22 16:59:01 +08:00
Fu Hanxi 9f21460e10 ci: update mypy check for python 3.12, check under python 3.8 rules 2024-05-22 16:59:01 +08:00
Fu Hanxi 112488fbcf ci: use full fetch while checking git tags 2024-03-05 15:40:01 +01:00
Fu Hanxi f317bb15fd ci: remove ip101 jobs and twai_std jobs 2024-01-10 10:27:51 +01:00
Fu Hanxi 8ce0b8bf73 ci: fix upload failed job log script 2023-12-11 11:15:08 +01:00
Fu Hanxi 651f60e663 ci: improve check pylint get files command 2023-12-11 11:11:39 +01:00
Fu Hanxi 0fe3ec63a0 ci: optimize git strategy 2023-12-08 11:00:19 +01:00
Fu Hanxi b4268c874a Merge branch 'ci/tune_build_jobs_parallel_count_master' into 'master'
ci: tune build test jobs parallel count

See merge request espressif/esp-idf!26627
2023-10-24 21:19:51 +08:00
Fu Hanxi 56500b1725 Merge branch 'ci/fix_test_case_name_while_setup' into 'master'
ci: assign the test_case_name attribute to the case item while setting up a pytest session

Closes RDT-548

See merge request espressif/esp-idf!26632
2023-10-24 00:20:17 +08:00
Fu Hanxi 4076e99a6c Merge branch 'ci/sort_pytest_cases_by_app_path' into 'master'
ci: sort pytest test cases by app path

See merge request espressif/esp-idf!26611
2023-10-23 18:47:01 +08:00
Fu Hanxi 1726ce888d ci: tune build test jobs parallel count 2023-10-23 10:43:51 +02:00
Fu Hanxi eb37150780 ci: add all nightly run env vars while checking 2023-10-23 09:19:31 +02:00
Fu Hanxi ad9b07f589 ci: add idf_pytest package into patterns to trigger target test jobs 2023-10-23 08:54:02 +02:00
Fu Hanxi d2f5f3549e ci: sort pytest test cases by app path 2023-10-23 08:53:20 +02:00
Fu Hanxi 9f379b224a Merge branch 'ci/reduce_minio_object_size' into 'master'
ci: reduce the archive file size by adding compression method

See merge request espressif/esp-idf!26552
2023-10-19 01:20:29 +08:00
Fu Hanxi 1199a22717 ci: reduce the archive file size by adding compression method
the default one of python won't do any compress

also limit a bit on the file patterns, otherwise the .bin files
generated by cmake would also be uploaded
2023-10-18 11:51:24 +02:00
Fu Hanxi 321d3c9ba6 Merge branch 'ci/remove_ttfw' into 'master'
ci: remove ttfw

See merge request espressif/esp-idf!26313
2023-10-17 20:43:56 +08:00
Fu Hanxi 00ae4ee386 Merge branch 'ci/fix_get_test_cases_issues' into 'master'
ci: set env var NIGHTLY_RUN while checking the apps readme files

See merge request espressif/esp-idf!26493
2023-10-17 19:01:01 +08:00
Fu Hanxi 6944d17be9 ci: set env var NIGHTLY_RUN while checking the apps readme files
sometimes we may want to build & test on only a specific set of targets,
add `NIGHTLY_RUN == "1"` for this use case
2023-10-16 13:26:43 +02:00
Fu Hanxi 4dbf8c8948 ci: remove ttfw related files 2023-10-16 10:23:09 +02:00
Fu Hanxi ca63d0f943 test: move network_tests from examples/ to tools/test_apps 2023-10-16 10:18:03 +02:00
Fu Hanxi 786a641851 Merge branch 'ci/build_jobs_use_cache' into 'master'
ci: Upload Artifacts to Minio Server Instead of Gitlab Server

Closes IDFCI-1653

See merge request espressif/esp-idf!25664
2023-10-16 00:49:47 +08:00
Fu Hanxi 79bc66b323 ci: upload to minio server instead of gitlab artifacts for pytest jobs 2023-10-13 13:01:23 +02:00
Fu Hanxi 9bef0db402 ci: remove SETUP_TOOLS since now we run install.sh for all jobs 2023-10-13 13:01:23 +02:00
Fu Hanxi dfdb9f9261 ci: reduce gitlab api calls by using lazy calls 2023-10-13 13:01:23 +02:00
Fu Hanxi 6be05d415b ci: remove unit-test-app ci jobs 2023-10-13 13:01:16 +02:00
Fu Hanxi 7311710e2c ci: support p4 in unit-test-app 2023-10-13 12:55:52 +02:00
Fu Hanxi a3a8c2acb9 ci: move default variables, before(after)_script into a single file
could help reuse the default settings on main pipeline and child
pipeline

renamed:
- .before_script_minimal -> .before_script:minimal
- .before_script_macos -> .before_script:build:macos
- .before_script_build_jobs -> .before_script:build
2023-10-13 12:55:51 +02:00
Fu Hanxi 0a4a31286c Merge branch 'ci/fix_param_tests' into 'master'
ci: different test case name with different params

See merge request espressif/esp-idf!26023
2023-10-05 00:15:03 +08:00
Fu Hanxi 24b2e0a56d ci: different test case name with different params 2023-10-04 16:05:29 +00:00
Fu Hanxi 1a0dd5a162 Merge branch 'ci/replace_internal_clang-tidy-runner' into 'master'
ci: replace internal clang-tidy runner with the pypi project

See merge request espressif/esp-idf!26133
2023-09-28 00:07:35 +08:00
Fu Hanxi 4dbe541f80 ci: replace internal clang-tidy runner with the pypi project 2023-09-27 10:25:49 +02:00
Fu Hanxi c79c16a73e ci: fix cleanup_ignore_lists.py on windows 2023-09-21 12:59:17 +02:00
Fu Hanxi 3f8400ef7c ci: add esp32 ethernet custom test 2023-08-22 16:36:25 +02:00
Fu Hanxi 614db5b3b3 Merge branch 'ci/improve_pytest' into 'master'
CI: introduce new plugin `pytest-ignore-test-results`

Closes IDFCI-1667

See merge request espressif/esp-idf!24480
2023-08-21 10:50:46 +08: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
Fu Hanxi c8cddaee8a ci: exclude checking manifest files under managed_components 2023-08-18 08:09:20 +08:00
Fu Hanxi 7908d04fdb Merge branch 'ci/use_pylint_3.8' into 'master'
ci: pylint with codeclimate

Closes IDFCI-1727

See merge request espressif/esp-idf!25283
2023-08-17 12:04:45 +08:00
Fu Hanxi a39acdfb7c Merge branch 'contrib/github_pr_11794' into 'master'
Update .gitignore (Sublime + Clangd) (GitHub PR)

Closes IDFGH-10554

See merge request espressif/esp-idf!25308
2023-08-16 08:24:13 +08:00
Fu Hanxi e458a7a45c ci: run pylint for files endswith .py, and skip run when no files matched 2023-08-15 08:31:46 +08:00
Fu Hanxi 28c9953ffe ci: pylint with codeclimate 2023-08-15 08:31:45 +08:00
Fu Hanxi da4a59f216 Merge branch 'ci/cleanup_ignore_lists' into 'master'
ci: remove non-existing files from the ignore lists

See merge request espressif/esp-idf!25160
2023-08-09 13:52:16 +08:00
Fu Hanxi 60db076a96 ci: add pre-commit to cleanup ignore lists 2023-08-09 12:09:31 +08:00
Fu Hanxi 361427288a Merge branch 'ci/qemu_test_case_target_with_postfix' into 'master'
ci: name the test case id with _qemu postfix for qemu test cases

Closes IDFCI-1759

See merge request espressif/esp-idf!24980
2023-07-28 15:28:17 +08:00
Fu Hanxi 7c3143dba8 ci: name the test case id with _qemu postfix for qemu test cases 2023-07-26 17:09:38 +08:00
Fu Hanxi 28167ea5a3 Merge branch 'bugfix/fix_multi_dut_testcases_report' into 'master'
ci(pytest): Add functionality to merge JUnit files and collect real failure cases...

Closes RDT-495

See merge request espressif/esp-idf!24632
2023-07-26 14:41:21 +08:00
Fu Hanxi 4a8c9ecb60 Merge branch 'ci/fix_skipping_qemu_test' into 'master'
CI: fix skipping qemu test

See merge request espressif/esp-idf!24880
2023-07-19 15:06:06 +08:00
Fu Hanxi f5984d482a ci: fix skipping qemu test always 2023-07-19 12:02:59 +08:00
Fu Hanxi e872b69c12 ci: show mr.env env file 2023-07-19 11:50:53 +08:00
Fu Hanxi 7610e535ea ci: ignore test scripts under managed_components 2023-07-19 11:21:49 +08:00
Fu Hanxi 8c70e6a5fb Merge branch 'ci/enable_check_app_dependency_for_qemu_and_linux' into 'master'
ci: enable check app dependency for qemu and linux tests

See merge request espressif/esp-idf!24699
2023-07-12 14:49:01 +08:00
Fu Hanxi 537bd3efec ci: enable check app dependency for qemu and linux tests 2023-07-11 15:32:57 +08:00
Fu Hanxi 0fa985ceb0 Merge branch 'ci/fix_multi_dut_real_test_case_missing_issue' into 'master'
ci(pytest): fix multi-dut missing c test case in the junit report issue

See merge request espressif/esp-idf!24418
2023-06-28 09:03:27 +08:00
Fu Hanxi 63fe059b55 ci(pytest): fix multi-dut missing c test case in the junit report issue 2023-06-27 11:06:22 +08:00
Fu Hanxi d24124e7a6 Merge branch 'ci/ignore_pkg_resources_deprecation_warning' into 'master'
ci: ignore pkg_resources deprecation warning

See merge request espressif/esp-idf!24311
2023-06-20 11:05:34 +08:00
Fu Hanxi cf0e2273b5 ci: ignore pkg_resources deprecation warning 2023-06-20 08:38:01 +08:00
Fu Hanxi e998d2c55c Merge branch 'docs/fix_pytest_embedded_broken_links' into 'master'
docs: fix 404 links

See merge request espressif/esp-idf!24072
2023-06-06 15:34:01 +08:00
Fu Hanxi a58aed1187 Merge branch 'ci/fix_multi_needs_test_cases_skipped_issue' into 'master'
ci: fix duplicated names for generated built app list

See merge request espressif/esp-idf!24034
2023-06-06 11:24:39 +08:00
Fu Hanxi 22a8784553 docs: fix 404 links 2023-06-06 11:11:23 +08:00
Fu Hanxi 547701cfe3 Merge branch 'ci/move_esp_dockerfile_update_tools_job_to_pre_stage' into 'master'
ci: fix update_sha_in_esp-dockerfiles rules

See merge request espressif/esp-idf!23788
2023-06-06 08:17:47 +08:00
Fu Hanxi 4ff9ed5971 ci: fix duplicated names for app list issue 2023-06-05 10:19:11 +08:00
Fu Hanxi 82d78c7c7d ci: fix update_sha_in_esp-dockerfiles rules 2023-06-02 10:49:14 +08:00
Fu Hanxi 8513ea2b22 Merge branch 'ci/fix_build_and_test_all_apps_regex' into 'master'
ci: fix egrep patterns

See merge request espressif/esp-idf!24011
2023-06-01 14:46:49 +08:00
Fu Hanxi a17abe169b ci: fix regexes 2023-05-31 21:35:47 +08:00
Fu Hanxi 3c8a782113 Merge branch 'ci/build_test_apps_according_to_required_components' into 'master'
CI: build test apps according to `requires_components` in `.build-test-rules.yml`s

Closes IDFCI-1651

See merge request espressif/esp-idf!22633
2023-05-31 09:05:38 +08:00
Fu Hanxi ac7e51903a ci: remove unused jobs and patterns 2023-05-26 22:59:57 +08:00
Fu Hanxi 2ad2e3cb04 ci(ccs811): use manifest file instead of patterns in rules.yml 2023-05-26 22:59:57 +08:00
Fu Hanxi 22e2738f78 ci: build and test only modified components related test cases 2023-05-26 22:59:57 +08:00
Fu Hanxi 2cbcafc4d3 ci: remove unused variables 2023-05-26 22:59:57 +08:00
Fu Hanxi 35adff40e0 ci: get_mr_info support components 2023-05-26 22:59:56 +08:00
Fu Hanxi d29b3ee584 Merge branch 'test/idf-build-apps-1.0.0' into 'master'
CI: make master pipeline compatible with idf-build-apps 1.0.0 release

See merge request espressif/esp-idf!23892
2023-05-25 13:51:21 +08:00
Fu Hanxi 1f851fd405 ci: fix breaking change in idf-build-apps 1.0.0 2023-05-25 08:36:44 +08:00
Fu Hanxi 8be8a1cd22 Merge branch 'ci/fix_no_test_script_corner_case' into 'master'
ci: fix build script when no test script found

See merge request espressif/esp-idf!23361
2023-04-25 08:46:06 +08:00
Fu Hanxi 55870f379d ci: fix build script when no test script found 2023-04-23 14:53:58 +08:00
Fu Hanxi e8814f8a18 Merge branch 'ci/bypass_esp32h4_error' into 'master'
ci: bypass esp32h4 missing error

See merge request espressif/esp-idf!23331
2023-04-21 15:33:49 +08:00
Fu Hanxi fc329fa80f ci: remove unknown target, add H4 for check back 2023-04-21 14:43:31 +08:00
Fu Hanxi 3554c6e571 ci: run readme check when constants.py or check script updated 2023-04-21 14:43:21 +08:00
Fu Hanxi 33bfc7d2cc Merge branch 'ci/migrate_peripherals_examples' into 'master'
ci: migrate peripherals ttfw test scripts

Closes IDFCI-1145

See merge request espressif/esp-idf!23088
2023-04-10 11:43:34 +08:00
Fu Hanxi a64d084eac ci: small cleanup for the dependencies.yml 2023-04-10 09:10:23 +08:00
Fu Hanxi 29bd34dcef ci: add pattern ccs811 2023-04-10 09:10:23 +08:00
Fu Hanxi 1be18d4bc5 ci: migrate peripherals ttfw test scripts 2023-04-10 08:46:42 +08:00
Fu Hanxi 6eee36a5e3 Merge branch 'ci/improve_job_name_and_concurrency' into 'master'
Ci/improve job name and concurrency

Closes IDF-7197

See merge request espressif/esp-idf!23086
2023-04-07 17:02:07 +08:00
Fu Hanxi 9153f9c927 ci: don't run idf-size for linux target 2023-04-07 12:29:30 +08:00
Fu Hanxi d18b6ade6e ci: increase concurrency number of build_pytest_components_esp32h2 2023-04-07 12:29:30 +08:00
Fu Hanxi c9741e8100 ci: remove target test unused jobs 2023-04-07 12:29:30 +08:00