-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Pavlo Dudnytskyi
committed
Sep 16, 2024
1 parent
433286c
commit 305ab15
Showing
14 changed files
with
818 additions
and
456 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,4 +55,14 @@ jobs: | |
- name: Run script and save results | ||
run: python docs/script/process_examples.py docs/examples/sniffing_serial_communication.rst docs/sniffing_serial_communication.tmp | ||
- name: Compare temp file with sniffing_serial_communication.rst | ||
run: diff -u --strip-trailing-cr docs/sniffing_serial_communication.rst docs/sniffing_serial_communication.tmp | ||
run: diff -u --strip-trailing-cr docs/sniffing_serial_communication.rst docs/sniffing_serial_communication.tmp | ||
climate_haier_doc: | ||
name: Check ESPHome climate haier | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/[email protected] | ||
- name: Run script and save results | ||
run: python docs/script/process_examples.py docs/examples/climate_haier.rst docs/climate_haier.tmp no_header | ||
- name: Compare temp file with ESPHome climate haier | ||
run: diff -u --strip-trailing-cr docs/climate_haier.tmp docs/esphome-docs/climate/haier.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,16 +9,17 @@ on: | |
|
||
jobs: | ||
tests_with_base: | ||
name: Building ${{ matrix.file }} | ||
name: Building ${{ matrix.file.main }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
file: | ||
- max-hon.yaml | ||
- max-smartair2.yaml | ||
- min-hon.yaml | ||
- min-smartair2.yaml | ||
- {main: max-hon.yaml, additional: "docs/examples/.base.yaml"} | ||
- {main: max-smartair2.yaml, additional: "docs/examples/.base.yaml"} | ||
- {main: min-hon.yaml, additional: "docs/examples/.base.yaml"} | ||
- {main: min-smartair2.yaml, additional: "docs/examples/.base.yaml"} | ||
- {main: esphome_climate_example.yaml, additional: "docs/examples/.base.yaml"} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/[email protected] | ||
|
@@ -27,7 +28,7 @@ jobs: | |
- name: Version esphome | ||
run: esphome version | ||
- name: Prepering test file | ||
run: cat docs/examples/.base.yaml docs/examples/${{ matrix.file }} > ./docs/examples/__test__.yaml | ||
run: cat ${{ matrix.file.additional }} docs/examples/${{ matrix.file.main }} > ./docs/examples/__test__.yaml | ||
- name: Preparing secrets.yaml | ||
run: | | ||
echo "wifi_ssid: test_ssid" > ./docs/examples/secrets.yaml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
esphome: | ||
esphome: | ||
name: esp32-haier-example | ||
|
||
esp32: | ||
|
Oops, something went wrong.