16 lines
405 B
YAML
16 lines
405 B
YAML
steps:
|
|
- name: test
|
|
image: ghcr.io/astral-sh/uv:0.9-python3.12-alpine
|
|
commands:
|
|
- uv sync
|
|
- pytest
|
|
- |
|
|
python src/karl/__init__.py 2>&1 | while IFS= read -r line; do
|
|
echo "$line"
|
|
if echo "$line" | grep -q "Uvicorn running on"; then
|
|
pkill -f "uvicorn"
|
|
break
|
|
fi
|
|
done
|
|
when:
|
|
- event: [ push, manual ]
|