Fix relsib #1345
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: Test BLE monitor | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
validate: | |
runs-on: "ubuntu-latest" | |
name: Validate HACS and Hassfest | |
steps: | |
- uses: "actions/checkout@v4" | |
- name: HACS validation | |
uses: "hacs/action@main" | |
with: | |
category: "integration" | |
- 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@v4" | |
- name: Setup Python | |
uses: "actions/setup-python@v5" | |
with: | |
python-version: "3.12" | |
- name: Install requirements | |
run: python3 -m pip install -r requirements_test.txt | |
- name: Run pytest | |
run: | | |
pytest |