#!/bin/bash

set -e

echo "Checking codestyle"
ruff format --check
ruff check

echo "Checking static typing"
mypy

echo "Running unit tests"
pytest tests/unit \
    --cov src/ \
    --cov-report=xml:reports/coverage.xml\
    --cov-report=term-missing\
    --junitxml=reports/pyunit.xml

echo "Done!"
