ci: python pipeline splitted
This commit is contained in:
parent
86e7d4b8c3
commit
d61602cb78
1 changed files with 10 additions and 3 deletions
|
|
@ -1,10 +1,17 @@
|
|||
steps:
|
||||
- name: test
|
||||
- name: prepare
|
||||
image: ghcr.io/astral-sh/uv:0.9-python3.12-alpine
|
||||
commands:
|
||||
- apk add --no-cache gcc python3-dev musl-dev linux-headers
|
||||
- uv sync
|
||||
- name: test
|
||||
image: ghcr.io/astral-sh/uv:0.9-python3.12-alpine
|
||||
commands:
|
||||
- uv sync --group dev
|
||||
- python -m pytest
|
||||
- name: test-run
|
||||
image: ghcr.io/astral-sh/uv:0.9-python3.12-alpine
|
||||
commands:
|
||||
- |
|
||||
python src/karl/__init__.py 2>&1 | while IFS= read -r line; do
|
||||
echo "$line"
|
||||
|
|
@ -13,5 +20,5 @@ steps:
|
|||
break
|
||||
fi
|
||||
done
|
||||
when:
|
||||
- event: [ push, manual ]
|
||||
when:
|
||||
- event: [ push, manual ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue