Update test_panasonic_heatpump.yml
This commit is contained in:
parent
743844bf35
commit
702a5e1208
|
|
@ -25,7 +25,10 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
esphome-version: ['2024.11.0', 'latest']
|
esphome-version: ['2024.11.0', 'latest']
|
||||||
board: ['esp32dev', 'lolin_s2_mini']
|
board: ['esp32dev']
|
||||||
|
exclude:
|
||||||
|
- esphome-version: '2024.11.0'
|
||||||
|
board: 'lolin_s2_mini'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
@ -53,13 +56,6 @@ jobs:
|
||||||
pip install esphome==${{ matrix.esphome-version }}
|
pip install esphome==${{ matrix.esphome-version }}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Update test config for board
|
|
||||||
run: |
|
|
||||||
if [ "${{ matrix.board }}" == "lolin_s2_mini" ]; then
|
|
||||||
sed -i 's/board: esp32dev/board: lolin_s2_mini/' tests/panasonic_heatpump/test_panasonic_heatpump.yaml
|
|
||||||
sed -i '/type: esp-idf$/a\ variant: ESP32S2' tests/panasonic_heatpump/test_panasonic_heatpump.yaml
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Validate ESPHome config
|
- name: Validate ESPHome config
|
||||||
run: |
|
run: |
|
||||||
esphome config tests/panasonic_heatpump/test_panasonic_heatpump.yaml
|
esphome config tests/panasonic_heatpump/test_panasonic_heatpump.yaml
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue