#!/bin/bash

set -e

# run linting of python files
echo 'Running linting...'
flake8  labelaudit/ tests/ application.py dev.py

echo 'Running tests...'
export Environment=test
py.test \
    --cov tests/ \
    --cov-report xml:build/coverage.xml \
    --junitxml=build/pyunit.xml
