Add device mode select entity for sprinkler timers #137
Workflow file for this run
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" | |
| on: | |
| push: | |
| branches: | |
| - "main" | |
| pull_request: | |
| branches: | |
| - "main" | |
| jobs: | |
| test: | |
| name: "Test" | |
| runs-on: "ubuntu-latest" | |
| steps: | |
| - name: "Checkout the repository" | |
| uses: "actions/checkout@v6.0.2" | |
| - name: "Set up Python" | |
| uses: "actions/setup-python@v6.2.0" | |
| with: | |
| python-version: "3.13" | |
| cache: "pip" | |
| - name: "Install requirements" | |
| run: python3 -m pip install -r requirements.txt | |
| - name: "Run tests" | |
| run: python3 -m pytest tests/ -v --tb=short |