diff --git a/.gitea/workflows/tests.yml b/.gitea/workflows/tests.yml index 27824f2..bfedcb0 100644 --- a/.gitea/workflows/tests.yml +++ b/.gitea/workflows/tests.yml @@ -6,6 +6,11 @@ on: jobs: tests: runs-on: bs-node + strategy: + fail-fast: false + matrix: + # Minimum supported HA (hacs.json) and the newest published test fixtures. + requirements: [requirements-test.txt, requirements-test-latest.txt] steps: - uses: https://github.com/actions/checkout@v4 # uv supplies standalone Python builds for the Debian job container. @@ -17,7 +22,7 @@ jobs: - name: Create Python environment run: uv venv --python 3.13 --seed .venv - name: Install test dependencies - run: uv pip install --python .venv/bin/python -r requirements-test.txt + run: uv pip install --python .venv/bin/python -r ${{ matrix.requirements }} - name: Run checks run: | . .venv/bin/activate diff --git a/requirements-test-latest.txt b/requirements-test-latest.txt new file mode 100644 index 0000000..ae1c0c3 --- /dev/null +++ b/requirements-test-latest.txt @@ -0,0 +1,3 @@ +# Newest published fixtures: Home Assistant 2026.2.3; requires Python 3.13. +# Update together with the README's tested-versions note. +pytest-homeassistant-custom-component==0.13.316