Skip to content

Support inbuilt functionality for controlling home-assistant (#6) #6

Support inbuilt functionality for controlling home-assistant (#6)

Support inbuilt functionality for controlling home-assistant (#6) #6

Workflow file for this run

name: Push actions
on:
push:
branches:
- main
- rc-*
env:
PYTHON_VERSION: "3.10"
jobs:
validate:
runs-on: "ubuntu-latest"
name: Validate
steps:
- uses: "actions/[email protected]"
- name: HACS validation
uses: "hacs/action@main"
with:
category: "integration"
ignore: brands
- name: Hassfest validation
uses: "home-assistant/actions/hassfest@master"
style:
runs-on: "ubuntu-latest"
name: Check style formatting
steps:
- uses: "actions/[email protected]"
- uses: "actions/[email protected]"
with:
python-version: ${{ env.PYTHON_VERSION }}
- run: python3 -m pip install black
- run: black .
# tests:
# runs-on: "ubuntu-latest"
# name: Run tests
# steps:
# - name: Check out code from GitHub
# uses: "actions/[email protected]"
# - name: Setup Python
# uses: "actions/[email protected]"
# with:
# python-version: ${{ env.PYTHON_VERSION }}
# - name: Install requirements
# run: |
# python3 -m pip install -r requirements.txt
# python3 -m pip install -r requirements_test.txt
# - name: Run tests
# run: |
# pytest \
# -qq \
# --timeout=9 \
# --durations=10 \
# -n auto \
# --cov custom_components.gigachat \
# -o console_output_style=count \
# -p no:sugar \
# tests