v0.2.0 #14
@ -1,3 +1,17 @@
|
|||||||
|
steps:
|
||||||
|
unit-tests:
|
||||||
|
image: ghcr.io/astral-sh/uv:python3.13-bookworm
|
||||||
|
when:
|
||||||
|
event: push
|
||||||
|
path:
|
||||||
|
- "src/**"
|
||||||
|
- "tests/**"
|
||||||
|
commands:
|
||||||
|
- uv sync --dev
|
||||||
|
- uv run pytest -m "not integration" -v
|
||||||
|
|
||||||
|
integration-tests:
|
||||||
|
image: ghcr.io/astral-sh/uv:python3.13-bookworm
|
||||||
when:
|
when:
|
||||||
event: pull_request
|
event: pull_request
|
||||||
branch:
|
branch:
|
||||||
@ -6,16 +20,6 @@ when:
|
|||||||
path:
|
path:
|
||||||
- "src/**"
|
- "src/**"
|
||||||
- "tests/**"
|
- "tests/**"
|
||||||
|
|
||||||
steps:
|
|
||||||
unit-tests:
|
|
||||||
image: ghcr.io/astral-sh/uv:python3.13-bookworm
|
|
||||||
commands:
|
|
||||||
- uv sync --dev
|
|
||||||
- uv run pytest -m "not integration" -v
|
|
||||||
|
|
||||||
integration-tests:
|
|
||||||
image: ghcr.io/astral-sh/uv:python3.13-bookworm
|
|
||||||
environment:
|
environment:
|
||||||
WRENN_API_KEY:
|
WRENN_API_KEY:
|
||||||
from_secret: WRENN_API_KEY
|
from_secret: WRENN_API_KEY
|
||||||
|
|||||||
Reference in New Issue
Block a user