Repository navigation
feat(1P): add Time of Use Sell Mode switches (registers 274-279, bit 6) #625
Workflow file for this run
This file contains hidden or 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
| name: Build CI | |
| on: | |
| pull_request: | |
| branches: [main] | |
| schedule: | |
| - cron: "0 8 * * *" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-ci: | |
| name: Building ${{ matrix.file }} / ${{ matrix.esphome-version }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| file: | |
| - deye_hybrid_3p_lv | |
| - deye_hybrid_3p_hv | |
| - deye_hybrid_1p_lv | |
| esphome-version: | |
| - stable | |
| - beta | |
| - dev | |
| steps: | |
| - name: Checkout source code | |
| uses: actions/checkout@v4 | |
| - name: Copy test files to main directory | |
| run: | | |
| if [ -d "tests/" ]; then | |
| cp -r tests/* . | |
| echo "Copied files from tests/ to main directory" | |
| else | |
| echo "ERROR: tests/ directory not found" | |
| exit 1 | |
| fi | |
| - name: ESPHome ${{ matrix.esphome-version }} | |
| uses: esphome/build-action@v7 | |
| with: | |
| yaml-file: ${{ matrix.file }}.yaml | |
| version: ${{ matrix.esphome-version }} |