Merge pull request #1533 from M1k0t0/master #1525
This file contains hidden or 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@v6" | |
| - 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@v6" | |
| - name: Setup Python | |
| uses: "actions/setup-python@v6" | |
| with: | |
| python-version: "3.12" | |
| - name: Install requirements | |
| run: python3 -m pip install -r requirements_test.txt | |
| - name: Run pytest | |
| run: | | |
| pytest |