We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13670d0 commit cbfdbaeCopy full SHA for cbfdbae
1 file changed
.github/workflows/tests.yaml
@@ -0,0 +1,32 @@
1
+name: HomeAssistant Tests
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
9
10
11
+jobs:
12
+ test:
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - name: Check out code
17
+ uses: actions/checkout@v4
18
19
+ - name: Set up Python 3.13
20
+ uses: actions/setup-python@v5
21
+ with:
22
+ python-version: "3.13"
23
+ cache: 'pip' # Speeds up subsequent runs by caching dependencies
24
25
+ - name: Install dependencies
26
+ run: |
27
+ python -m pip install --upgrade pip
28
+ pip install pytest pytest-asyncio pytest-homeassistant-custom-component homeassistant aioresponses
29
30
+ - name: Run Pytest
31
32
+ pytest tests/
0 commit comments