]> granicus.if.org Git - esp-idf/commitdiff
nvs: add long ci test for power off recovery and coverage
authorIvan Grokhotkov <ivan@espressif.com>
Mon, 16 Apr 2018 03:50:12 +0000 (11:50 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Thu, 19 Apr 2018 07:08:08 +0000 (15:08 +0800)
This test can be triggered manually:
`bot test name: test_nvs_coverage`

.gitlab-ci.yml

index 1f1b560d76c4c93d59bee0dbba2c6da0452d3f56..b2e0bb5573df25d7e000cfd3e721898c9fca7329 100644 (file)
@@ -243,6 +243,24 @@ test_nvs_on_host:
     - cd components/nvs_flash/test_nvs_host
     - make test
 
+test_nvs_coverage:
+  stage: test
+  image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG
+  tags:
+    - nvs_host_test
+  dependencies: []
+  artifacts:
+    paths:
+      - components/nvs_flash/test_nvs_host/coverage_report
+  only:
+    - triggers
+  # This job takes a few hours to finish, so only run it on demand
+  variables:
+    BOT_NEEDS_TRIGGER_BY_NAME: 1
+  script:
+    - cd components/nvs_flash/test_nvs_host
+    - make coverage_report
+
 test_partition_table_on_host:
   stage: test
   image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG