Skip to content

Add support for automatic watering system #47

Add support for automatic watering system

Add support for automatic watering system #47

Workflow file for this run

---
name: Testing
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
env:
DEFAULT_PYTHON: "3.13"
jobs:
pytest:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.12", "3.13"]
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Poetry
run: pipx install poetry
- name: Set up Python ${{ matrix.python }}
id: python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: "poetry"
- name: Install dependencies
run: poetry install --no-interaction
- name: Run pytest
run: poetry run pytest --cov letpot tests