Skip to content

Commit

Permalink
Merge pull request #27 from trombik/issue_25
Browse files Browse the repository at this point in the history
ci: run CI with the latest esphome in a matrix
  • Loading branch information
trombik authored Mar 31, 2022
2 parents 7503c55 + 29cf962 commit d7dccb3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
- config/ping.yaml
- config/influxdb.yaml
- config/ping-esp32c3.yaml
esphome_version:
- default
- latest
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -32,7 +35,13 @@ jobs:
run: |
pipenv install
- name: Upgrade esphome to the latest if esphome_version is latest
if: matrix.esphome_version == 'latest'
run: |
pipenv update "esphome"
- name: Compile ping.yaml
run: |
cp config/secrets.yaml.dist config/secrets.yaml
pipenv run esphome version
pipenv run esphome compile ${{ matrix.config }}

0 comments on commit d7dccb3

Please sign in to comment.