From 1832349d8ac3596c7a6f73628d4738b2f217c8a7 Mon Sep 17 00:00:00 2001 From: Tomasz Duda Date: Sun, 5 May 2024 23:29:08 +0200 Subject: [PATCH] rollback ci & add build_components_base.nrf52 --- .github/workflows/ci.yml | 4 ++-- .../build_components_base.nrf52.yaml | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 tests/test_build_components/build_components_base.nrf52.yaml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 40c79fab77..fd7a45ff50 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ permissions: contents: read env: - DEFAULT_PYTHON: "3.10" + DEFAULT_PYTHON: "3.9" PYUPGRADE_TARGET: "--py39-plus" concurrency: @@ -170,7 +170,7 @@ jobs: fail-fast: false matrix: python-version: - # - "3.9" + - "3.9" - "3.10" - "3.11" - "3.12" diff --git a/tests/test_build_components/build_components_base.nrf52.yaml b/tests/test_build_components/build_components_base.nrf52.yaml new file mode 100644 index 0000000000..04211ffdfe --- /dev/null +++ b/tests/test_build_components/build_components_base.nrf52.yaml @@ -0,0 +1,15 @@ +esphome: + name: componenttestnrf52 + friendly_name: $component_name + +nrf52: + board: adafruit_feather_nrf52840 + +logger: + level: VERY_VERBOSE + +packages: + component_under_test: !include + file: $component_test_file + vars: + component_test_file: $component_test_file