Skip to content

chore(deps): bump pytest-homeassistant-custom-component from 0.13.301 to 0.13.305 #354

chore(deps): bump pytest-homeassistant-custom-component from 0.13.301 to 0.13.305

chore(deps): bump pytest-homeassistant-custom-component from 0.13.301 to 0.13.305 #354

Workflow file for this run

name: Pull actions
on:
pull_request:
push:
branches:
- main
jobs:
validate:
runs-on: "ubuntu-latest"
name: Validate
steps:
- name: 📥 Checkout the repository
uses: actions/checkout@v4
- name: HACS validation
uses: "hacs/action@main"
with:
category: "integration"
- name: Hassfest validation
uses: "home-assistant/actions/hassfest@master"
tests:
runs-on: "ubuntu-latest"
name: Run tests
strategy:
matrix:
python-version:
- "3.13"
steps:
- name: 📥 Checkout the repository
uses: actions/checkout@v4
- name: 🛠️ Install uv
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
cache-dependency-glob: "requirements*.txt"
- name: 🛠️ Set up Python
run: uv python install ${{ matrix.python-version }}
- name: 📦 Install tox
# We install tox as a tool with the necessary plugins
run: uv tool install tox --with tox-uv --with tox-gh-actions
- name: 🏃 Test with tox
run: tox
- name: 📤 Upload coverage to Codecov
uses: "actions/upload-artifact@v4"
with:
name: coverage-data
path: "coverage.xml"
coverage:
runs-on: ubuntu-latest
needs: tests
steps:
- name: 📥 Checkout the repository
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: 📥 Download coverage data
uses: actions/download-artifact@v4
with:
name: coverage-data
- name: 📤 Upload coverage report
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}