Skip to content

Ha2026 fix

Ha2026 fix #80

Workflow file for this run

name: CI tests
on:
push:
branches: [ master, HA2026_fix ]
pull_request:
branches: [ master ]
types: [opened, synchronize]
workflow_dispatch:
jobs:
# This workflow contains a single job called "build"
tests:
name: Run ${{ matrix.type }} tests for python ${{matrix.python}}
# The type of runner that the job will run on
runs-on: ubuntu-latest
strategy:
matrix:
python: ['3.10', '3.12', '3.14']
type: [unit]
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Prepare python ${{ matrix.python }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install bluez
run: sudo apt-get install bluez
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Install requirements
run: pip install -r requirements_test.txt
- name: Run ${{ matrix.type }} tests
run: pytest tests/${{ matrix.type }}