From 535be7b79fac499e3aed3de8a5f25998a9a6d8ea Mon Sep 17 00:00:00 2001 From: Tomas Rezucha Date: Fri, 18 Mar 2022 14:21:38 +0100 Subject: [PATCH] ci: Run nightly tests This catches regressions on 4.3, 4.4 and latest release branches --- .github/workflows/build_and_run_test_app.yml | 4 ++++ README.md | 1 + 2 files changed, 5 insertions(+) diff --git a/.github/workflows/build_and_run_test_app.yml b/.github/workflows/build_and_run_test_app.yml index e3da25e..38400d7 100644 --- a/.github/workflows/build_and_run_test_app.yml +++ b/.github/workflows/build_and_run_test_app.yml @@ -1,6 +1,8 @@ name: Build and Run Test Application on: + schedule: + - cron: '0 0 * * *' # Once per day at midnight pull_request: types: [opened, reopened, synchronize] @@ -8,6 +10,7 @@ jobs: build: name: Build Test App strategy: + fail-fast: false matrix: idf_ver: ["release-v4.3", "release-v4.4", "latest"] idf_target: ["esp32", "esp32c3", "esp32s3"] # @todo ESP32S2 has less RAM and the test_app will not fit @@ -29,6 +32,7 @@ jobs: . ${IDF_PATH}/export.sh idf.py build - name: Merge binaries + shell: bash working-directory: test_app/build run: | . ${IDF_PATH}/export.sh diff --git a/README.md b/README.md index ba56027..26dd725 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ [![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit) +[![Build and Run Test Application](https://github.com/espressif/idf-extra-components/actions/workflows/build_and_run_test_app.yml/badge.svg)](https://github.com/espressif/idf-extra-components/actions/workflows/build_and_run_test_app.yml) # Espressif IDF Extra Components