ci: ruff + mypy + pytest on push/PR

This commit is contained in:
naps62
2026-05-27 15:53:03 +00:00
parent 58caba43f7
commit 3941cca46c
2 changed files with 36 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
name: test
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.13"
- run: pip install -e ".[dev]"
- run: ruff check .
- run: mypy custom_components/ev_solar_charger
- run: pytest -v
+18
View File
@@ -0,0 +1,18 @@
name: test
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.13"
- run: pip install -e ".[dev]"
- run: ruff check .
- run: mypy custom_components/ev_solar_charger
- run: pytest -v