Expanded option72 for Shelly 3EM and other devices to only count import energy in today, yesterday and total. #3914
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
name: Tasmota CI | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: development | |
paths: | |
- '**.c' | |
- '**.cpp' | |
- '**.be' | |
- '**.h' | |
- '**.hpp' | |
- '**.ino' | |
- '**.json' | |
- '**.properties' | |
- 'pio-tools/*.py' | |
- '**.ini' | |
- '.github/workflows/build_all_the_things.yml' | |
jobs: | |
os-check-win: | |
runs-on: windows-2019 | |
if: github.repository == 'arendst/Tasmota' | |
strategy: | |
fail-fast: true | |
matrix: | |
variant: | |
- tasmota32-webcam | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
pip install wheel | |
#python -m pip install --upgrade pip | |
pip install -U platformio | |
#platformio upgrade --dev | |
#platformio update | |
- name: Run PlatformIO | |
run: platformio run -e ${{ matrix.variant }} | |
- uses: jason2866/[email protected] | |
with: | |
name: firmware | |
path: ./build_output | |
os-check-mac: | |
runs-on: macos-14 | |
if: github.repository == 'arendst/Tasmota' | |
strategy: | |
fail-fast: true | |
matrix: | |
variant: | |
- tasmota32solo1-safeboot | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install dependencies | |
run: | | |
pip install wheel | |
#python -m pip install --upgrade pip | |
pip install -U platformio | |
#platformio upgrade --dev | |
#platformio update | |
- name: Run PlatformIO | |
run: platformio run -e ${{ matrix.variant }} | |
- uses: jason2866/[email protected] | |
with: | |
name: firmware | |
path: ./build_output | |
base-images: | |
runs-on: ubuntu-latest | |
if: github.repository == 'arendst/Tasmota' | |
strategy: | |
fail-fast: true | |
matrix: | |
variant: | |
- tasmota | |
- tasmota-4M | |
- tasmota-display | |
- tasmota-ir | |
- tasmota-knx | |
- tasmota-lite | |
- tasmota-minimal | |
- tasmota-sensors | |
- tasmota-zbbridge | |
- tasmota32 | |
- tasmota32solo1 | |
- tasmota32c2 | |
- tasmota32c3 | |
- tasmota32c6 | |
- tasmota32s2 | |
- tasmota32s2cdc | |
- tasmota32s3 | |
- tasmota32-zbbrdgpro | |
- tasmota-zigbee | |
- tasmota32-bluetooth | |
- tasmota32-nspanel | |
- tasmota32-display | |
- tasmota32-ir | |
- tasmota32-lvgl | |
- tasmota32-safeboot | |
- tasmota32s2-safeboot | |
- tasmota32s2cdc-safeboot | |
- tasmota32s3-safeboot | |
- tasmota32c2-safeboot | |
- tasmota32c3-safeboot | |
- tasmota32c6-safeboot | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
pip install wheel | |
#python -m pip install --upgrade pip | |
pip install -U platformio | |
#platformio upgrade --dev | |
#platformio update | |
cp ./platformio_override_sample.ini ./platformio_override.ini | |
- name: Run PlatformIO | |
run: platformio run -e ${{ matrix.variant }} | |
- uses: jason2866/[email protected] | |
with: | |
name: firmware | |
path: ./build_output | |
language-images: | |
runs-on: ubuntu-latest | |
if: github.repository == 'arendst/Tasmota' | |
strategy: | |
fail-fast: true | |
matrix: | |
variant: [ tasmota ] | |
language: [ AD, AF, BG, BR, CN, CZ, DE, ES, FR, FY, GR, HE, HU, IT, KO, NL, PL, PT, RO, RU, SE, SK, TR, TW, UK, VN ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
pip install wheel | |
#python -m pip install --upgrade pip | |
pip install -U platformio | |
#platformio upgrade --dev | |
#platformio update | |
- name: Run PlatformIO | |
run: platformio run -e ${{ matrix.variant }}-${{ matrix.language }} | |
- uses: jason2866/[email protected] | |
with: | |
name: firmware | |
path: ./build_output |