Skip to content

Commit

Permalink
Simplify CI
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi committed Jul 26, 2024
1 parent 6af8ebe commit 5b023bb
Showing 1 changed file with 3 additions and 20 deletions.
23 changes: 3 additions & 20 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -189,14 +189,7 @@ jobs:
- name: Write secrets.yaml
shell: bash
run: 'echo -e "wifi_ssid: ssid\nwifi_password: password" > secrets.yaml'
- run: esphome config yeelight_light_ceil26.yaml
- run: esphome config yeelight_light_ceiling10.yaml
- run: esphome config yeelight_light_ceiling11.yaml
- run: esphome config yeelight_light_ceiling15.yaml
- run: esphome config yeelight_light_ceiling20.yaml
- run: esphome config yeelight_light_ceilb.yaml
- run: esphome config yeelight_light_ceilc.yaml
- run: esphome -s external_components_source components config yeelight_light_strip6.yaml
- run: esphome config yeelight_*.yaml
- run: esphome -s external_components_source components config yeerc_ylyk01yl.yaml
- run: esphome -s external_components_source components config yeerc_ylyk01yl_fancl.yaml

Expand Down Expand Up @@ -228,23 +221,13 @@ jobs:
pip install esphome
pip list
esphome version
# Downgrade cryptography to avoid https://github.com/espressif/esp-idf/issues/7631
python -m pip install --upgrade cryptography==3.4.8
- name: Register problem matchers
run: |
echo "::add-matcher::.github/workflows/matchers/gcc.json"
echo "::add-matcher::.github/workflows/matchers/python.json"
- name: Write secrets.yaml
shell: bash
run: 'echo -e "wifi_ssid: ssid\nwifi_password: password" > secrets.yaml'
- run: esphome compile yeelight_light_ceil26.yaml
- run: esphome compile yeelight_light_ceiling10.yaml
- run: esphome compile yeelight_light_ceiling11.yaml
- run: esphome compile yeelight_light_ceiling15.yaml
- run: esphome compile yeelight_light_ceiling20.yaml
- run: esphome compile yeelight_light_ceilb.yaml
- run: esphome compile yeelight_light_ceilc.yaml
- run: esphome compile yeelight_light_strip6.yaml
- run: esphome -s external_components_source components compile yeelight_light_fancl5.yaml
# Compile only a few examples as they are all very similar
- run: esphome -s external_components_source components compile yeelight_light_lamp9.yaml
- run: esphome -s external_components_source components compile yeerc_ylyk01yl.yaml
# - run: esphome -s external_components_source components compile yeerc_ylyk01yl_fancl.yaml

0 comments on commit 5b023bb

Please sign in to comment.