#!/bin/bash

set -e

# run linting of python files
echo 'Running linting...'
ruff check product/ tests/

echo 'Running tests...'
export Environment=test
py.test \
    --cov product/ tests/ \
    --cov-report xml \
    --junitxml=pyunit.xml \
    --ignore tests/integration
