Skip to content

Commit

Permalink
Merge pull request #6 from david-cermak/feat/ci_target_tests
Browse files Browse the repository at this point in the history
[CI]: Add target tests
  • Loading branch information
david-cermak authored Dec 3, 2024
2 parents 46fe259 + f413031 commit a943849
Show file tree
Hide file tree
Showing 7 changed files with 121 additions and 11 deletions.
45 changes: 44 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
strategy:
matrix:
idf_ver: ["latest"]
example: [ { app: host, path: "examples/mqtt" }, { app: slave, path: "examples/server" }]
example: [ { app: host, path: "examples/mqtt", bin: "build_esp32p4_p4" }, { app: slave, path: "examples/server", bin: "build_esp32c6_c6" }]
include:
- idf_ver: "latest"
example: { app: slave, path: "examples/server" }
Expand All @@ -65,6 +65,7 @@ jobs:
sparse-checkout: |
ci/build_apps.py
ci/ignore_build_warnings.txt
ci/clean_build_artifacts.sh
sparse-checkout-cone-mode: false
path: protocols
- name: Build ${{ matrix.example.app }} with IDF-${{ matrix.idf_ver }}
Expand All @@ -75,3 +76,45 @@ jobs:
. ${IDF_PATH}/export.sh
pip install idf-component-manager idf-build-apps --upgrade
python $GITHUB_WORKSPACE/protocols/ci/build_apps.py ./components/esp_wifi_remote/${{matrix.example.path}} -vv --preserve-all
cd ./components/esp_wifi_remote/${{matrix.example.path}}
${GITHUB_WORKSPACE}/protocols/ci/clean_build_artifacts.sh `pwd`/${{matrix.example.bin}}
zip -qur artifacts.zip ${{matrix.example.bin}}
- uses: actions/upload-artifact@v4
with:
name: eppp_${{ matrix.idf_ver }}_${{matrix.example.bin}}
path: components/esp_wifi_remote/${{matrix.example.path}}/artifacts.zip
if-no-files-found: error

run_example:
# Skip running on forks since it won't have access to secrets
if: github.repository == 'espressif/esp-wifi-remote'
name: EPP target test
needs: build_wifi_remote_example
strategy:
matrix:
idf_ver: ["latest"]
runs-on: [self-hosted, wifi-remote]
container:
image: python:3.7-buster
options: --privileged # Privileged mode has access to serial ports
env:
TEST_DIR: components/esp_wifi_remote/examples
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: eppp_${{ matrix.idf_ver }}_build_esp32p4_p4
path: ${{ env.TEST_DIR }}/mqtt/
- uses: actions/download-artifact@v4
with:
name: eppp_${{ matrix.idf_ver }}_build_esp32c6_c6
path: ${{ env.TEST_DIR }}/server/
- name: Run Test
working-directory: ${{ env.TEST_DIR }}
run: |
python -m pip install pytest-embedded-serial-esp pytest-embedded-idf pytest-rerunfailures pytest-timeout pytest-ignore-test-results
unzip server/artifacts.zip -d server/
mv server/build_esp32c6_c6/ server/build/
unzip mqtt/artifacts.zip -d mqtt/
mv mqtt/build_esp32p4_p4/ mqtt/build/
python -m pytest --log-cli-level DEBUG --target esp32p4,esp32c6
11 changes: 9 additions & 2 deletions components/esp_wifi_remote/Kconfig.rpc.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,24 @@ endchoice

if ESP_WIFI_REMOTE_LIBRARY_EPPP

config ESP_WIFI_REMOTE_EPPP_UART_PORT
int "UART port number"
default 1
range 0 3
help
UART Port number.

config ESP_WIFI_REMOTE_EPPP_UART_TX_PIN
int "TXD Pin Number"
default 10
range 0 31
range 0 54
help
Pin number of UART TX.

config ESP_WIFI_REMOTE_EPPP_UART_RX_PIN
int "RXD Pin Number"
default 11
range 0 31
range 0 54
help
Pin number of UART RX.

Expand Down
1 change: 1 addition & 0 deletions components/esp_wifi_remote/eppp/eppp_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ __attribute__((weak)) esp_netif_t *wifi_remote_eppp_init(eppp_type_t role)
config.transport = EPPP_TRANSPORT_UART;
config.uart.tx_io = CONFIG_ESP_WIFI_REMOTE_EPPP_UART_TX_PIN;
config.uart.rx_io = CONFIG_ESP_WIFI_REMOTE_EPPP_UART_RX_PIN;
config.uart.port = CONFIG_ESP_WIFI_REMOTE_EPPP_UART_PORT;
config.ppp.netif_description = CONFIG_ESP_WIFI_REMOTE_EPPP_NETIF_DESCRIPTION;
config.ppp.netif_prio = CONFIG_ESP_WIFI_REMOTE_EPPP_NETIF_PRIORITY;
return eppp_open(role, &config, portMAX_DELAY);
Expand Down
16 changes: 11 additions & 5 deletions components/esp_wifi_remote/examples/mqtt/sdkconfig.ci.p4
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
CONFIG_ESP_WIFI_REMOTE_EPPP_UART_TX_PIN=17
CONFIG_ESP_WIFI_REMOTE_EPPP_UART_RX_PIN=16
CONFIG_ESP_WIFI_REMOTE_EPPP_SERVER_CA="MIIDIzCCAgugAwIBAgIULOncUeRLKxgrihIh1kHGGlPV7ecwDQYJKoZIhvcNAQELBQAwITELMAkGA1UEBhMCQ1oxEjAQBgNVBAMMCUVzcHJlc3NpZjAeFw0yNDA0MDMwOTE0MjNaFw0zNDA0MDEwOTE0MjNaMCExCzAJBgNVBAYTAkNaMRIwEAYDVQQDDAlFc3ByZXNzaWYwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbayaZAuzQWrwRj3oiFP9AZK0ECaDvVlJec4M6yokded1pqNY+bNmA7VsHSQkf3d1rO1G5GwEXoMPli15m7rJodq9iYp1J2LhLhpKDNapm19reyH9A4rAfjSyk/WyvT+3Y5sNHVFdE2t1EetOyzy90CfOHT9JfWG9PiV6b1W65CqgjJVCHMWioppVAGQCoN+mDBf1VhD4am6onei+ijHdALJDfp74mSIOJGulm/IR7504s+yy7068PQ05V/wHkmd9O1Iww5fnJdRh2KvTFZVOB5u9y54MTJb0sGZj+JfxIbcFiIWAykLFVWBk5PO6yj8fNMmk/Ogb2K4wo7AZnJ3qBAgMBAAGjUzBRMB0GA1UdDgQWBBT3j77hJHm/hI34fEn3tocHqB4INzAfBgNVHSMEGDAWgBT3j77hJHm/hI34fEn3tocHqB4INzAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQBstXfBIRvqZp4OBQ2kCJig/CErcfdB4qQOS2LzQmpIOUQ4d/zvZOQD2W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cWgz1dAo8Ume8LgR6zTqPVEy1uB95hX7I0CgYEA9/u/5IjDQQJ9qTkvJey6FNsvl68JcYRtP2+3WKXPRaUJLPv6M20ZmjpuVk4NpkEBWzJ4fhQ6D9TL8F7+WsjLfa58gMs1juu3uAEk4H5AgPi3vqkdw/Kgo4uU3QCa/6R5dXzpndWqllSBAsx+0s/uwbI6bLodqcVOlIE7vLusoYcCgYEA3r9Zt8cwDt1h6JXdHcNVKEcPt01XB7h3bQtiliSDcfToV9fYuQXUOkBK76Xt6w3L5NqWrQwigRCdDmYBuhql/RgvIGcOKVC/cL+sSetNP8xzSozQsyfBalCk826X7MV065OtqXZZVux48gVBSvfuzs1xTo3e1TpV+pd1nj27c5cCgYEAy70WR1jlsn+tZl8JEYuQxpneXCz/ATjf2QKcDEUOKhYRl9feFGpKYqAnDtlJ9ZHq31Z0EIHlwiP++hnRuBzIsxWsTNSnyCh55L9r4NVZgZzWudqQDfFFcZi4UWqx7d7fu1tJRNfLM39yDy6b8+/KJXGc9r9ip5znlrMmtUUr6/kCgYAlp8V7+vFV4fj2P7d0m5vexjyS6UEoLfgKeB0/cobCEfvhNb0OcjzRaCMC5lMVJGzukEFemamPlgZm87mhA3ZCFf+Jg8JyG5NxdQWkLWIOwfpPhQSW9MaOuXlZKb4HKc49MObvufEab7l2eIr0KHu3fCWGeRdNhqIYTdh1WsxAmwKBgQCE50V7GAyG+tsMwZyimAAykcBL2x0NSKT2LY59sM6+FEtRH9d1dyacIFQ2GVHPNXjeRxtqIawsU/5yJ5Ivh38nDJzQLLM3oDXi5VHtWP6ExfUi9ZFb1CLiALg5dBoyAP/3Xvtq8JpIp6PwFRVPCKE7/GgBmEQ23eIfViFhfPIrfQ=="
22 changes: 22 additions & 0 deletions components/esp_wifi_remote/examples/pytest_eppp.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
# SPDX-License-Identifier: CC0-1.0
import os.path
from typing import Tuple

import pytest
from pytest_embedded_idf.dut import IdfDut


@pytest.mark.parametrize(
'count, app_path, target', [
(2,
f'{os.path.join(os.path.dirname(__file__), "mqtt")}|{os.path.join(os.path.dirname(__file__), "server")}',
'esp32p4|esp32c6'),
], indirect=True
)
def test_wifi_remote_eppp(dut: Tuple[IdfDut, IdfDut]) -> None:
client = dut[0]
server = dut[1]

server.expect('rpc_server: Received IP event', timeout=100)
client.expect('MQTT_EVENT_CONNECTED', timeout=100)
Loading

0 comments on commit a943849

Please sign in to comment.