Files
doczyai-pipelines/bitbucket-pipelines.yml
T

41 lines
920 B
YAML
Raw Normal View History

2024-09-23 16:14:05 +01:00
definitions:
2024-09-23 16:28:03 +01:00
scripts:
- script: &install
pip install uv;
uv sync --group dev --group test;
2024-09-23 16:14:05 +01:00
2024-09-23 15:39:28 +01:00
pipelines:
2024-09-30 12:25:32 +01:00
default:
- step:
name: Install Dependencies
image: python:3.12.7
script:
- *install
caches:
- pip
- parallel:
- step:
name: Lint (black)
image: python:3.12.7
script:
- *install
- uv run black --check src/
caches:
- pip
- step:
name: Type Check (mypy)
image: python:3.12.7
script:
- *install
- uv run mypy src/
caches:
- pip
- step:
name: Unit Tests (pytest)
image: python:3.12.7
script:
- *install
- uv run pytest src/tests/
caches:
- pip