Files
heating-mpc-ha/.gitea/workflows/tests.yml
T
buzera 43f30dab2b
Tests / tests (push) Successful in 1m10s
Fix Python setup in CI
2026-10-26 20:13:15 +02:00

25 lines
697 B
YAML

name: Tests
on:
push:
pull_request:
workflow_dispatch:
jobs:
tests:
runs-on: bs-node
steps:
- uses: https://github.com/actions/checkout@v4
# uv supplies standalone Python builds for the Debian job container.
- uses: https://github.com/astral-sh/setup-uv@v6
with:
version: '0.9.6'
enable-cache: false
github-token: ''
- 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
- name: Run checks
run: |
. .venv/bin/activate
sh scripts/check.sh