Skip to content

Update pip requirement from <24.1,>=21.3.1 to >=21.3.1,<24.4 #264

Update pip requirement from <24.1,>=21.3.1 to >=21.3.1,<24.4

Update pip requirement from <24.1,>=21.3.1 to >=21.3.1,<24.4 #264

Workflow file for this run

name: "Validate"
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
jobs:
hassfest: # https://developers.home-assistant.io/blog/2020/04/16/hassfest
name: "Hassfest Validation"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4.1.7"
- name: "Run hassfest validation"
uses: "home-assistant/actions/hassfest@master"
hacs: # https://github.com/hacs/action
name: "HACS Validation"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4.1.7"
- name: "Run HACS validation"
uses: "hacs/action@main"
with:
category: "integration"
test:
name: "Unit tests"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4.1.7"
- name: "Set up Python"
uses: actions/setup-python@v5.0.0
with:
python-version: "3.12"
cache: "pip"
- name: "Install requirements"
run: python3 -m pip install -r requirements-test.txt
- name: Run tests
run: pytest