diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a5cfe9f..efbf3f1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -15,24 +15,24 @@ jobs: fail-fast: false matrix: file: - - tests/esp32-arduino-hon-ethernet.yaml - - tests/esp32-arduino-hon-wifi.yaml - - tests/esp32-arduino-smartair2-ethernet.yaml - - tests/esp32-arduino-smartair2-wifi.yaml - - tests/esp32-idf-hon-ethernet.yaml - - tests/esp32-idf-hon-wifi.yaml - - tests/esp32-idf-smartair2-ethernet.yaml - - tests/esp32-idf-smartair2-wifi.yaml - - tests/esp8266-hon-wifi.yaml - - tests/esp8266-smartair2-wifi.yaml - - tests/rpipicow-hon-wifi.yaml - - tests/rpipicow-smartair2-wifi.yaml - - tests/esp8266-simple-smartair2.yaml - - tests/esp8266-simple-hon.yaml - - tests/libretiny-hon.yaml - - tests/libretiny-smartair2.yaml - - tests/host-simple-hon.yaml - - tests/host-simple-smartair2.yaml + - esp32-arduino-hon-ethernet.yaml + - esp32-arduino-hon-wifi.yaml + - esp32-arduino-smartair2-ethernet.yaml + - esp32-arduino-smartair2-wifi.yaml + - esp32-idf-hon-ethernet.yaml + - esp32-idf-hon-wifi.yaml + - esp32-idf-smartair2-ethernet.yaml + - esp32-idf-smartair2-wifi.yaml + - esp8266-hon-wifi.yaml + - esp8266-smartair2-wifi.yaml + - rpipicow-hon-wifi.yaml + - rpipicow-smartair2-wifi.yaml + - esp8266-simple-smartair2.yaml + - esp8266-simple-hon.yaml + - libretiny-hon.yaml + - libretiny-smartair2.yaml + - host-simple-hon.yaml + - host-simple-smartair2.yaml steps: - name: Checkout code uses: actions/checkout@v4.1.3 @@ -43,4 +43,4 @@ jobs: - name: Install libsodium run: sudo apt-get install -y libsodium-dev - name: Build ESPHome config - run: esphome compile ${{ matrix.file }} + run: esphome compile tests/${{ matrix.file }} diff --git a/.github/workflows/examples.yaml b/.github/workflows/examples.yaml index d83c67f..b048ea2 100644 --- a/.github/workflows/examples.yaml +++ b/.github/workflows/examples.yaml @@ -15,10 +15,10 @@ jobs: fail-fast: false matrix: file: - - docs/examples/max-hon.yaml - - docs/examples/max-smartair2.yaml - - docs/examples/min-hon.yaml - - docs/examples/min-smartair2.yaml + - max-hon.yaml + - max-smartair2.yaml + - min-hon.yaml + - min-smartair2.yaml steps: - name: Checkout code uses: actions/checkout@v4.1.3 @@ -27,7 +27,7 @@ jobs: - name: Version esphome run: esphome version - name: Prepering test file - run: cat docs/examples/.base.yaml ${{ matrix.file }} > ./docs/examples/__test__.yaml + run: cat docs/examples/.base.yaml docs/examples/${{ matrix.file }} > ./docs/examples/__test__.yaml - name: Preparing secrets.yaml run: | echo "wifi_ssid: test_ssid" > ./docs/examples/secrets.yaml @@ -41,8 +41,8 @@ jobs: fail-fast: false matrix: file: - - docs/examples/usb_s3.yaml - - docs/examples/usb_c3u.yaml + - usb_s3.yaml + - usb_c3u.yaml steps: - name: Checkout code uses: actions/checkout@v4.1.3 @@ -55,4 +55,4 @@ jobs: echo "wifi_ssid: test_ssid" > ./docs/examples/secrets.yaml echo "wifi_password: test_pass" >> ./docs/examples/secrets.yaml - name: Build ESPHome config - run: esphome compile ${{ matrix.file }} + run: esphome compile docs/examples/${{ matrix.file }}