Merge pull request #27 from espressif/feature/ci/scheduled_tests

ci: Run nightly tests
This commit is contained in:
Tomas Rezucha 2022-03-21 08:46:09 +01:00 committed by GitHub
commit 0d69218634
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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