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

echo 'Starting Linting: flake8'
env/bin/python -m flake8 src tests app.py dev.py

echo 'Starting tests'
env/bin/python -m pytest tests \
    --cov src \
    --cov-report xml:coverage.xml \
    --cov-report term \
    --junitxml=pyunit.xml

echo 'Successfully ran linting and tests'
