Update pip requirement from <24.1,>=21.3.1 to >=21.3.1,<24.4 #264
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: "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 |