#!/usr/bin/env bash
set -e

if [ -z "$SKIP_LINT" ]; then
    python -u -m yamllint docker-compose.yaml
    python -u -m ruff check src tests app.py --no-cache
fi

python -u -m pytest --cov=src tests/
