瀏覽代碼

gen_esp32part: Run unit tests on host as part of gitlab-ci

Angus Gratton 8 年之前
父節點
當前提交
51f20c6e7c
共有 2 個文件被更改,包括 9 次插入0 次删除
  1. 9 0
      .gitlab-ci.yml
  2. 0 0
      components/partition_table/test_gen_esp32part_host/gen_esp32part_tests.py

+ 9 - 0
.gitlab-ci.yml

@@ -151,6 +151,15 @@ test_nvs_on_host:
     - cd components/nvs_flash/test_nvs_host
     - make test
 
+test_partition_table_on_host:
+  stage: test
+  image: $CI_DOCKER_REGISTRY/esp32-ci-env
+  tags:
+    - build
+  script:
+    - cd components/partition_table/test_gen_esp32part_host
+    - ./gen_esp32part_tests.py
+
 test_wl_on_host:
   stage: test
   image: $CI_DOCKER_REGISTRY/esp32-ci-env

+ 0 - 0
components/partition_table/tests/gen_esp32part_tests.py → components/partition_table/test_gen_esp32part_host/gen_esp32part_tests.py