File tree Expand file tree Collapse file tree 6 files changed +51
-171
lines changed
Expand file tree Collapse file tree 6 files changed +51
-171
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Continuous Integration
2+
3+ on :
4+ push :
5+ pull_request :
6+ workflow_dispatch :
7+
8+ jobs :
9+ lint :
10+ name : Lint (Ruff)
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v5
14+ - name : Set up Python 3.12
15+ uses : actions/setup-python@v6
16+ with :
17+ python-version : " 3.12"
18+ cache : pip
19+ - name : Install dependencies
20+ run : |
21+ python -m pip install --upgrade pip
22+ pip install -r requirements.txt
23+ - name : Ruff check
24+ run : ruff check .
25+ - name : Ruff format check
26+ run : ruff format --check .
27+
28+ tests :
29+ name : Tests (Pytest)
30+ runs-on : ubuntu-latest
31+ steps :
32+ - uses : actions/checkout@v5
33+ - name : Set up Python 3.12
34+ uses : actions/setup-python@v6
35+ with :
36+ python-version : " 3.12"
37+ cache : pip
38+ - name : Install dependencies
39+ run : |
40+ python -m pip install --upgrade pip
41+ pip install -r requirements.txt
42+ pip install -r requirements-dev.txt
43+ - name : Run tests
44+ run : pytest
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 99
1010jobs :
1111 validate-hacs :
12- runs-on : " ubuntu-latest"
12+ runs-on : ubuntu-latest
1313 steps :
1414 - name : HACS validation
15- uses : " hacs/action@main"
15+ uses : hacs/action@main
1616 with :
17- category : " integration"
17+ category : integration
1818 ignore : brands
19+
1920 validate-hass :
20- runs-on : " ubuntu-latest"
21+ runs-on : ubuntu-latest
2122 steps :
22- - uses : " actions/checkout@v5"
23- - uses : " home-assistant/actions/hassfest@master"
23+ - uses : actions/checkout@v5
24+ - uses : home-assistant/actions/hassfest@master
You can’t perform that action at this time.
0 commit comments