Initial commit
Some checks failed
🧪 Integration Testing / 🔧 Test Integration (2023.12.0, 3.11) (push) Successful in 2m11s
🧪 Integration Testing / 🔧 Test Integration (2023.12.0, 3.12) (push) Successful in 2m2s
🧪 Integration Testing / 🔧 Test Integration (2024.1.0, 3.11) (push) Successful in 1m4s
🧪 Integration Testing / 🔧 Test Integration (2024.1.0, 3.12) (push) Successful in 1m19s
🛡️ Code Quality & Security Check / 🔍 Code Quality Analysis (push) Failing after 56s

Signed-off-by: Rafal Zielinski <sq4ind@gmail.com>
This commit is contained in:
2025-09-28 13:30:43 +01:00
commit e29f7c025b
22 changed files with 1148 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
name: 🧪 Integration Testing
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test-integration:
name: 🔧 Test Integration
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11', '3.12']
home-assistant-version: ['2023.12.0', '2024.1.0']
steps:
- name: 📥 Checkout Code
uses: actions/checkout@v4
- name: 🐍 Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: 📦 Install Home Assistant ${{ matrix.home-assistant-version }}
run: |
pip install homeassistant==${{ matrix.home-assistant-version }}
pip install pytest pytest-homeassistant-custom-component
- name: 🧪 Run Integration Tests
run: |
python -m pytest tests/ -v --cov=custom_components/adguard_hub --cov-report=xml