Fu Hanxi
152db1a4ba
ci: move log dir from pytest_embedded_log to pytest-embedded
2024-05-09 12:23:04 +02:00
Fu Hanxi
b70d65444a
ci: always set expire_in
and when
with artifacts
...
set it under `default` does not work due to gitlab bugs.
will use `default` back once the bugs are resolved.
2024-02-16 13:43:53 +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
fc802da68c
ci: lint yaml files that use dependencies: []
together with needs
2024-01-25 14:47:53 +01:00
Fu Hanxi
87fc492fa6
ci: fix job name sanitizer
2024-01-24 10:49:40 +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
b709c880dd
ci: add linter for gitlab yaml files
...
- remove duplicated artifacts default values
- migrate check_artifacts_expire_time.py
- migrate check_rules_yml.py
2024-01-10 15:29:42 +01:00
Fu Hanxi
4dbf8c8948
ci: remove ttfw related files
2023-10-16 10:23:09 +02: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
7610e535ea
ci: ignore test scripts under managed_components
2023-07-19 11:21:49 +08:00
Fu Hanxi
55870f379d
ci: fix build script when no test script found
2023-04-23 14:53:58 +08:00
Fu Hanxi
08e68c192a
ci(pytest): differentiate temp_skip
and temp_skip_ci
markers
2022-12-08 09:49:12 +08:00
Fu Hanxi
a6164dc14c
ci: make get_pytest_apps 90% faster
2022-12-08 09:48:25 +08:00
Fu Hanxi
9a666c8ba0
ci: ci_build_apps.py supports filter_expr
2022-12-08 09:48:25 +08:00
Fu Hanxi
2d27e09b4f
ci: make bringup process for check_build_test_rules.py more friendly
2022-10-10 16:58:11 +08:00
Fu Hanxi
d28c1be711
ci: build but set preserve to false for different nightly_run scenarios
2022-07-18 10:17:54 +08:00
Fu Hanxi
05d2357062
feat: use standalone project idf-build-apps for find/build apps utils
2022-07-14 08:26:31 +08:00
Fu Hanxi
4746a71028
ci: add qemu example
2022-05-21 00:11:59 +08:00
Fu Hanxi
52b5a8348e
test: add pytest_wifi_getting_started script
2022-05-13 11:56:59 +08:00
Fu Hanxi
511ccdcb70
ci(pytest): support multi-dut different app
2022-05-13 11:54:42 +08:00
Fu Hanxi
153433d47d
ci: build_pytest_app will now remove the non-test apps
...
simplify the cli as well
2022-02-07 10:55:54 +08:00
Ivan Grokhotkov
21834f8362
ci: make pytest build script compatible with pytest 7.x
2022-02-04 15:44:29 +01:00
Fu Hanxi
63b0d2b11f
ci: raise exception when pytest collect failed
2022-01-28 11:31:33 +08:00
Fu Hanxi
a801555299
ci: replace all component ut with pytest-embedded
2022-01-24 16:37:23 +08:00
Fu Hanxi
6980ad5e12
fix(ci): use pathlib do glob pattern match
2021-12-27 16:29:42 +08:00
Fu Hanxi
94578f4658
ci: add pytest-embedded CI jobs
2021-11-30 09:42:12 +08:00
Fu Hanxi
b9aa7182e8
fix: git ls-files wrong result when call via pre-commit in worktrees
2021-10-27 14:20:49 +08:00
Michael (XIAO Xufeng)
9aebd01aeb
ci: fix check_executables issue on Windows
2021-04-26 15:55:31 +08:00
Fu Hanxi
8ff6461b4c
ci(rules): add check_tools_file_patterns.py
...
this file is used to check if all files under `tools` folder are
recorded in patterns or in exclude list
2021-02-10 14:48:51 +08:00
Fu Hanxi
0a8a99c17b
pre-commit: recognize Windows excecutable files with git
2020-11-12 17:52:31 +08:00
Fu Hanxi
47a97d2b52
check_kconfigs and check_deprecated_kconfigs now use files arguments
2020-11-02 15:49:13 +08:00
Fu Hanxi
bcc8f2628c
CI: Add pre-commit for esp-idf project.
...
add tools/ci/python_packages/idf_ci.py for some util functions used in
ci and needs multi-os solution
2020-11-02 15:49:13 +08:00