ci: migrate workflows and releases to Gitea
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
name: Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.14"
|
||||
cache: pip
|
||||
cache-dependency-path: requirements_test.txt
|
||||
|
||||
- name: Install test dependencies
|
||||
run: python -m pip install --requirement requirements_test.txt
|
||||
|
||||
- name: Ruff
|
||||
run: ruff check custom_components tests
|
||||
|
||||
- name: Pytest
|
||||
run: python -m pytest -q
|
||||
Reference in New Issue
Block a user