-
Notifications
You must be signed in to change notification settings - Fork 1
42 lines (36 loc) · 991 Bytes
/
python-smoke.yaml
File metadata and controls
42 lines (36 loc) · 991 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Python Smoke
on:
push:
paths:
- "custom_components/**"
- "hacs.json"
- ".github/workflows/python-smoke.yaml"
pull_request:
paths:
- "custom_components/**"
- "hacs.json"
- ".github/workflows/python-smoke.yaml"
release:
types:
- published
workflow_dispatch:
permissions: {}
jobs:
smoke:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Validate JSON files
run: |
python -m json.tool custom_components/pymc_repeater/manifest.json > /dev/null
python -m json.tool custom_components/pymc_repeater/translations/en.json > /dev/null
python -m json.tool hacs.json > /dev/null
- name: Compile integration
run: python -m compileall custom_components/pymc_repeater