This commit is contained in:
44
.github/workflows/build.yaml
vendored
44
.github/workflows/build.yaml
vendored
@ -29,36 +29,36 @@ jobs:
|
|||||||
# run: |
|
# run: |
|
||||||
# sudo npm install --global prettier
|
# sudo npm install --global prettier
|
||||||
|
|
||||||
# - name: Set up Python 3.13
|
- name: Set up Python 3.13
|
||||||
# uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
# with:
|
with:
|
||||||
# python-version: 3.13
|
python-version: 3.13
|
||||||
|
|
||||||
# - name: Install Python packages (Lint)
|
- name: Install Python packages (Lint)
|
||||||
# run: |
|
run: |
|
||||||
# python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
# pip install black flake8 pylint yamllint
|
pip install black flake8 pylint yamllint
|
||||||
|
|
||||||
# - name: YAML Lint
|
- name: YAML Lint
|
||||||
# run: |
|
run: |
|
||||||
# yamllint ./
|
yamllint ./
|
||||||
|
|
||||||
# # - name: Prettier Check Up
|
# # - name: Prettier Check Up
|
||||||
# # run: |
|
# # run: |
|
||||||
# # prettier --check --no-bracket-spacing '**/*.{yaml,json}'
|
# # prettier --check --no-bracket-spacing '**/*.{yaml,json}'
|
||||||
|
|
||||||
# - name: Install Python packages (Hass.IO)
|
- name: Install Python packages (Hass.IO)
|
||||||
# run: |
|
run: |
|
||||||
# pip install yq jq
|
pip install yq jq
|
||||||
# pip install homeassistant
|
pip install homeassistant
|
||||||
|
|
||||||
# - name: Check HassIO configuration
|
- name: Check HassIO configuration
|
||||||
# run: |
|
run: |
|
||||||
# sudo mkdir -p /config/snapshots
|
sudo mkdir -p /config/snapshots
|
||||||
# hass --version
|
hass --version
|
||||||
# mv secrets.yaml.sample secrets.yaml
|
mv secrets.yaml.sample secrets.yaml
|
||||||
# hass -c . --script check_config | tee check.output
|
hass -c . --script check_config | tee check.output
|
||||||
# ! less check.output | grep -q "Failed config"
|
! less check.output | grep -q "Failed config"
|
||||||
|
|
||||||
# # - name: Send a telegram message with job status
|
# # - name: Send a telegram message with job status
|
||||||
# # if: always()
|
# # if: always()
|
||||||
|
Reference in New Issue
Block a user