added workflow running python tests
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 11s
Python / lint-format (pull_request) Failing after 24s
Python / test (pull_request) Successful in 50s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m48s

This commit is contained in:
2026-05-22 22:56:03 +02:00
parent 90a1954658
commit f147969f37
+32 -1
View File
@@ -1,4 +1,4 @@
name: Lint & Format (Python) name: Python
on: on:
pull_request: pull_request:
@@ -32,3 +32,34 @@ jobs:
run: | run: |
. .venv/bin/activate . .venv/bin/activate
ruff check . ruff check .
test:
runs-on: alpine
container: node:26-alpine
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install tools
run: |
apk add --no-cache \
git \
python3 \
py3-pip \
py3-pillow \
build-base
python3 -m venv .venv
. .venv/bin/activate
pip install --no-cache-dir \
typer \
pillow \
materialyoucolor \
jinja2 \
pytest
- name: Test
run: |
. .venv/bin/activate
cd cli
python -m pytest tests/ -v