Skip to content

chore(deps): update dependency pytest to v9 #1259

chore(deps): update dependency pytest to v9

chore(deps): update dependency pytest to v9 #1259

Workflow file for this run

name: Verify
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
name: Check the Codebase
strategy:
max-parallel: 4
matrix:
python-version: ["3.13"]
poetry-version: [1.8.4]
steps:
- uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
with:
egress-policy: audit
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
python-version: ${{ matrix.python-version }}
- name: Set up Poetry ${{ matrix.poetry-version }}
uses: abatilo/actions-poetry@3765cf608f2d4a72178a9fc5b918668e542b89b1 # v4.0.0
with:
poetry-version: ${{ matrix.poetry-version }}
- run: |
poetry install
- run: |
poetry check
poetry run ruff check .
- run: |
poetry run pytest
poetry run coverage xml
- uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
with:
file: coverage.xml
validate_hacs:
runs-on: ubuntu-latest
name: Validate HACS
steps:
- uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
with:
egress-policy: audit
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
fetch-depth: 0
- name: HACS Validation
uses: hacs/action@94334b7ff014b150ad280ca09a20fa43f858c544 # main
with:
category: integration