fix for magic numbers since 2024.1 #197
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: Push actions | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
validate: | |
runs-on: "ubuntu-latest" | |
name: Validate | |
steps: | |
- uses: "actions/checkout@v2" | |
- name: HACS validation | |
uses: "hacs/action@main" | |
with: | |
category: "integration" | |
ignore: brands | |
- name: Hassfest validation | |
uses: "home-assistant/actions/hassfest@master" | |
# tests: | |
# runs-on: "ubuntu-latest" | |
# name: Run tests | |
# steps: | |
# - name: Check out code from GitHub | |
# uses: "actions/checkout@v2" | |
# - name: Setup Python | |
# uses: "actions/setup-python@v1" | |
# with: | |
# python-version: "3.8" | |
# - name: Run tests | |
# run: | | |
# pytest \ | |
# -qq \ | |
# --timeout=9 \ | |
# --durations=10 \ | |
# -n auto \ | |
# --cov custom_components.hasp-lvgl \ | |
# -o console_output_style=count \ | |
# -p no:sugar \ | |
# tests |